You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure if this is a bug or user error by me.
I am basically trying to pass a SymLogNorm to all plots in a faceted plot, but it has no effect.
It works when I just plot a single axis.
Below I reproduced the effect with an example dataset.
Matplotlib version: 1.5.1
xarray version: 0.8.2
importxarrayasxrimportmatplotlibasmpl# Here the passed 'norm=' keyword has the desired effectda1=xr.DataArray(np.random.exponential(size=[10,10]))
plt.figure()
da1.plot()
plt.figure()
da1.plot(norm=mpl.colors.SymLogNorm(0.1))
# In the faceted plot this has no effectda2=xr.DataArray(np.random.exponential(size=[10,10,4]))
plt.figure()
da.plot(x='dim_0',y='dim_1',col='dim_2',col_wrap=2)
plt.figure()
da.plot(x='dim_0',y='dim_1',col='dim_2',col_wrap=3,norm=mpl.colors.SymLogNorm(0.1))
The text was updated successfully, but these errors were encountered:
I am not sure if this is a bug or user error by me.
I am basically trying to pass a SymLogNorm to all plots in a faceted plot, but it has no effect.
It works when I just plot a single axis.
Below I reproduced the effect with an example dataset.
Matplotlib version: 1.5.1
xarray version: 0.8.2
The text was updated successfully, but these errors were encountered: