-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Pair of floats breaks plotting renderer (weirdest bug I've ever seen) #6393
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
Comments
I know what the error means. Do you have usetex=True anywhere? Try turning
|
Can you please provide your full rcparams? I can not reproduce this. If you just save a png does it work? |
@WeatherGod , @tacaswell : Thanks for your replies! My @tacaswell Interestingly.... now I can't reproduce it either! I'm on a different computer at the moment, but the only difference in software is one recent mac ports update (on the machine for which this is a problem). Incidentally, yes I was able to save to png successfully when I was getting this problem. I'll be in front of the original computer tomorrow and follow up on both of your questions.
|
@WeatherGod : Yes, indeed setting It's just strange, though; I can't imagine a "feature" that would make tex have difficulty rendering a simple set of digits, and only at 12pt font. I can put these exact numbers into a latex doc (at 12pt font) and they render fine. Anyways, I guess this is more of just a quirky minor annoyance than anything else. Thanks for your guys' time! |
@efiring Why was this closed? Shouldn't at least the "error return without exception set" SystemError be fixed? Reopening so that we don't lose track of the issue, but feel free to reclose it of course. |
The OP was on 1.5.1, which should already include #5515... |
That milestone is wrong; should be 2.0. Doesn't look like it was backported any further. |
@aaronm6 can you check whether the issue is still present on 2.0b4 for you? |
2.0.0 is out now and there has been no comment in 9 months, so I'm going to close this issue. |
I'm using IPython interactive, including a
from pylab import *
A plot I was trying to make was breaking my renderer. I simplified the problem to the following line:
plot(array([179.5, 175.]),'o')
The data points get plotted, but the ytick labels don't finish rendering. The error messages (copied at the end of this message) get written to the terminal, and get re-written each time I try to do anything, until the figure is cleared. The choice of marker doesn't affect the behavior. There is some flexibility in choice of data values, but if I increase the first element to 179.6, I get no error.
Additional weirdness: This is only a problem when
rcParams['font.size']
is set to 12. The problem goes away if I choose a smaller or larger font.As I normally don't use 12pt font, I've never noticed this problem before, but I've verified that it also happens with my installation using python2.7 (which appears to be using the same version of matplotlib anyhow). Does anyone have an idea what might be going on?
Thanks!
Here are some details of my setup:
Here is the error message I get:
The text was updated successfully, but these errors were encountered: