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

plotter.py: 2D y=log-scaled energy, x=coszen plots end up log(log(E)) #307

Open
jllanfranchi opened this issue Mar 23, 2017 · 3 comments
Open

Comments

@jllanfranchi
Copy link
Contributor

apparently a bug in linlog logic; removing the imshow section, plots look fine

@jllanfranchi
Copy link
Contributor Author

jllanfranchi commented Mar 27, 2017

Looks like an incompatible Matplotlib 2.0 change of behavior: http://matplotlib.org/users/whats_new.html#non-linear-scales-on-image-plots

The idea to use pcolormesh is almost offensive, as it's unbearably slow. Possibly the NonUniformImage class is a better way to go: http://matplotlib.org/examples/pylab_examples/image_nonuniform.html

@philippeller
Copy link
Collaborator

philippeller commented Mar 28, 2017

Or we plot a linear axis with the imshow with no labels and no ticks over the log axis

@LeanderFischer
Copy link
Collaborator

Not sure this issue persists, but we are using a much newer matplotlib now, so maybe it works. The code in these lines coul be tested again..

@LeanderFischer LeanderFischer added this to the PISA 4.2 milestone May 27, 2024
@thehrh thehrh removed this from the PISA 4.2 milestone Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants