Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken visualization functions #23

Open
jan-david-fischbach opened this issue Jun 18, 2023 · 1 comment
Open

Broken visualization functions #23

jan-david-fischbach opened this issue Jun 18, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@jan-david-fischbach
Copy link
Collaborator

When visualizing cells I get the following error:

The number of FixedLocator locations (3), usually from a call to set_ticks, does not match the number of ticklabels (4).

Furthermore we seem to not provide a shading parameter to pcolormesh (almost everywhere). With newer versions of matplotlib it seems to assume flat, which I don't think is what we want. We rather need nearest (e.g. for plotting the eps distribution)

@jan-david-fischbach jan-david-fischbach added the bug Something isn't working label Jun 18, 2023
@jan-david-fischbach
Copy link
Collaborator Author

MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3.  Either specify the corners of the quadrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading'].  This will become an error two minor releases later.
  plt.pcolormesh(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant