probably a bug in matplotlib 3.5.2
alexlib opened this issue · 0 comments
alexlib commented
Running your example of vect_plot (0.4.2, matplotlib 3.5.2) I get:
"name": "ValueError",
"message": "Passing parameters norm and vmin/vmax simultaneously is not supported.
Please pass vmin/vmax directly to the norm when creating it.",
can be solved by replacing:
pargs = {
'norm' : mpl.colors.LogNorm(),
'vmax': 1000,
'vmin': .1,
'cmap': 'pink',
}
with:
pargs = {
'norm' : colors.Normalize(vmin = 0, vmax = 1000),
'cmap': 'bwr',
}