-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
import ultraplot as pplt
import cartopy.crs as ccrs
fig, ax = pplt.subplot(proj='cyl')
ax.format(lonlim=[0.73, 1.92], latlim=[0.81, 1.97])
print("After set extent using lonlim and latlim:",ax.get_extent())
ax.set_extent([0.73, 1.92, 0.81, 1.97], crs=ccrs.PlateCarree())
print("After set extent using set_extent :",ax.get_extent())
ax.format(lonlines=.4, latlines=.4, ticklen=0.5)
print("After format something other than extent:",ax.get_extent())Got result as:
After set extent using lonlim and latlim: (0.22999999999999998, 2.42, 0.31000000000000005, 2.4699999999999998)
After set extent using set_extent : (0.73, 1.92, 0.81, 1.97)
After format something other than extent: (0.22999999999999998, 2.42, 0.31000000000000005, 2.4699999999999998)
environments:
ultraplot: latest branch with add-chord-diagram i think
cartopy: 0.25.0
matplotlib: 3.10.7
Metadata
Metadata
Assignees
Labels
No labels