Skip to content

probably a bug in matplotlib 3.5.2 #60

Description

@alexlib

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',
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions