Support polar axes labels with cartopy
See original GitHub issueDescription
Now, cartopy has supported the axes labels for polar projection.
But, proplot doesn’t work with the same newest version of cartopy.
Steps to reproduce
import proplot as plot
fig, axs = plot.subplots(proj='npstere')
axs.format(coast=True, latlines=10, lonlines=30, lonlabels=True, labels=True, boundinglat=60)
Expected behavior (matplotlib with cartopy)
Actual behavior: (proplot with cartopy)
Equivalent steps in matplotlib
import matplotlib.pyplot as plt
import cartopy.crs as ccrs
ax = plt.subplot(projection=ccrs.NorthPolarStereo())
ax.set_extent([-180,180,90,60], ccrs.PlateCarree())
ax.coastlines()
ax.gridlines(draw_labels=True)
Proplot version
0.6.4
Issue Analytics
- State:
- Created 3 years ago
- Comments:15
Top Results From Across the Web
Polar plot axes labels for Cartopy - Stack Overflow
Is there any support yet to allow axes labels for polar plots Cartopy? I note that using ax.gridlines(draw_labels=True) is only supported ...
Read more >Geographic and polar axes — ProPlot documentation
This section documents several useful features for working with polar plots and geographic projections. The geographic features are powered by cartopy (or, ...
Read more >Gridlines and tick labels — cartopy 0.21.0 documentation
Gridlines and tick labels#. These examples demonstrate how to quickly add longitude and latitude gridlines and tick labels on a non-rectangular projection.
Read more >Tick Labels — cartopy 0.21.0 documentation - SciTools
This example demonstrates adding tick labels to maps on rectangular projections using special tick formatters. tick labels. import cartopy.crs as ccrs from ...
Read more >Cartopy map gridlines and tick labels - SciTools
Cartopy map gridlines and tick labels¶ ... The Gridliner instance, often created by calling the cartopy.mpl.geoaxes.GeoAxes.gridlines() method on a cartopy.mpl.
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 FreeTop 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
Top GitHub Comments
@lukelbd Great! Thanks for coming back to polish proplot 😉 Hope your Ph.D. career goes well.
indeed, as said by @zxdawn - great to see you back @lukelbd, keeping proplot shiny!