greglucas on main
examples: define 'sample_data' … Merge pull request #2044 from p… (compare)
@stefraynaud, Better to draw with ax.gridlines (draw_labels = True)
When I use this code, I am introducing a tracing error. Because this code is for the Mercator projection. I hope to help fix this issue.
"# Label axes of a Mercator projection without degree symbols in the labels
fig.savefig('/tmp/data.png')
I think blocks until the buffer is fully written to disk. To compare all of these cases you'll really need to read up a lot more about profiling all of these various libraries because all of them do different things under the hood that may be beneficial in certain ways, like blitting or re-using the same canvas. If you're writing to disk or just showing an in-memory representation.
Hello!
When I plot a high resolution satellite image (tiff format) in imshow and save as jpeg with very high dpi (1000) the quality of the image is retained.
But when I plot the same image with cartopy the image is resampled (I assume onto the resolution of the lat-lon grid) and I loose alot of image quality.
Please could some one advice me how to plot a high resolution sat. image in cartopy retaining the original image quality?
Thank you very much!
regrid_shape
argument that is likely what you want to look into: https://scitools.org.uk/cartopy/docs/latest/reference/generated/cartopy.mpl.geoaxes.GeoAxes.html#cartopy.mpl.geoaxes.GeoAxes.imshow