-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
bar graph with nan values leads to "No current point in closepath" in evince #7154
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
Cannot reproduce it with mpl 1.5.1 and Foxit Reader. |
Also tried with mpl 1.5.2 and evince 3.20.1 and there are no warnings using this code. |
@QuLogic did you start evince in foreground/nondetached? |
This may be fixed by #5911 ? |
@e-dschungel 1.5.3 is available via pip, can you try updating? |
I just tried with 1.5.1 and even 1.4.3 and also see no warnings. There is just an empty plot, as expected. @e-dschungel I think the only course might be to update your system; evince 3.10.3 and Python 2.7.6 are fairly old at this point. |
I also can not reproduce this (but also with evince 3.20.1) either with mpl2.x + py3.5 or mpl1.5.1+py2.7.6 (from conda). Closing as not reproducible. @e-dschungel Thank you for reporting this, sorry we can not reproduce it to provide a fix! |
Thanks for the quick responses. |
I want to plot a bar graph which contain some nan values and save it to PDF. If I open the file in evince it shows several errors like "Syntax Error (596): No current point in closepath" on the console but plot is shown as expected. This only happens with the pdf backend, cairo pdf backend works. I think this is related to #3654.
I'm on Matplotlib 1.5.1 (installed via pip), python 2.7.6, Linux
Example code:
The text was updated successfully, but these errors were encountered: