-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Referencing this conversation #155 , everything works normally, but looping through each subplot to plot causes a bug.
import ultraplot as uplt
import numpy as np
fig, axs = uplt.subplots(ncols=2, nrows=3, span=False, share='all', proj="cyl",
journal='nat2')
axs.format(abc=True, abcloc="ul", lonlabels='both', latlabels='both')
This is my example.
import ultraplot as uplt
import numpy as np
fig, axs = uplt.subplots(ncols=2, nrows=3, span=False, share='all', proj="cyl",
journal='nat2')
axs.format(abc=True, abcloc="ul", lonlabels='both', latlabels='both')
a = np.random.rand(10, 10) * 2 - 1
for idx in range(6):
ax = axs[idx]
m = ax.pcolormesh(a, cmap="viridis")
fig.colorbar(m, label="ac1", ticks=4, loc="r")
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

