No pcolormesh referenced
See original GitHub issueFolks should be usingpcolormesh in general rather than imshow - imshow really only works for equally spaced pixels, and there is lots of data that is not laid out that way. However the cheatsheet doesn’t mention pcolormesh.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
pcolormesh — Matplotlib 3.6.2 documentation
pcolormesh allows you to generate 2D image-style plots. Note it is faster than the similar pcolor . import matplotlib.pyplot as ...
Read more >pcolormesh with missing values? - numpy - Stack Overflow
My plot comes out blank, and I suspect it is because the method='linear' interpolation comes out with nans. I've tried converting to a...
Read more >Function Reference: pcolor - Octave Forge - SourceForge
A pcolor plot draws rectangles with colors from the matrix c over the two-dimensional region represented by the matrices x and y ....
Read more >Plotting data — Basemap tutorial 0.1 documentation
The text method does not belong to Basemap, but directly to matplotlib, ... map.urcrnry, data.shape[0]) xx, yy = meshgrid(x, y) map.pcolormesh(xx, yy, ...
Read more >scipy.signal.spectrogram — SciPy v1.9.3 Manual
'complex' is equivalent to the output of stft with no padding or boundary extension. ... f, t, Sxx = signal.spectrogram(x, fs) >>> plt.pcolormesh(t,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Can’t we used a logspace for X and Y with the “default” imshow pattern ? That would be a nice use case.
I used the same data that you used for
contourin bothimshowandpcolormesh. For thepcolormesh, I made dx vary in the x vector, just to show that was possible:https://github.com/matplotlib/matplotlib/pull/19703/files