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
Plots show up completely white #2000
Comments
What backend do you have configured in your |
By default it seems to be |
Wow, this looks pretty broke! @efiring / @mdehoon / @dmcdougall - do any of you have 10.6 available? @bmorris3 - because you get this with different backends (you can check which backend is actually being used with |
Yes, I can run |
Was GTKAgg a red-herring then? I'm trying to isolate where the problem could be, so if it is only on the MacOSX backend then we have a pretty good candidate where the problem lies, otherwise it's likely that the problem is with your Python setup... |
GTKAgg was the default setting in |
@pelson, no, I don't have access to 10.6. There is a lot of information missing here--e.g., what kind of Python (system, python.org, fink, darwinports, homebrew...); what is the difference between "when I try to show a plot" and "in an interactive Python session"? etc. It sounds like the system was working normally, and then this problem started. Something in the system must have changed. Something that is assumed to be true, isn't true. If the behavior is the same with Enthought as before, then either the problem is deep in the system, or when you think you are running Enthought python, you aren't, or... who knows? |
You're absolutely right, there are all kinds of possibilities that On Tue, May 14, 2013 at 2:06 PM, Eric Firing notifications@github.comwrote:
|
Ok, I've completely deleted Python 2.7 from my machine and started fresh with new packages and I'm still getting the same error, so I'll go into some detail as per @efiring . I'm running Mac 10.6.8 with Xcode 3.2.6 (64 bit). Here's the list of packages relavent to matplotlib that I installed:
And some others that I don't think should matter but I installed so that I could run my script:
I've checked that I'm not running Python from the Enthought distro which I did not remove:
Before installing mpl I installed freetype and libpng with this command and these warnings
which are expected according to this thread. Then I installed mpl from source with
and this one
I wanted to check on @pelson 's comments on the backend what my backend is in my
If I check using @pelson 's method ( I've tried using The code that I'm running that makes the white plot is quite complicated, but it amounts to a call of this script (link to my GitHub repo copy). I've tried running simpler scripts to test whether or not the problem is specific to my script; here's a simple interactive plot I made that successfully produces a plot, but returns some leaking warnings that I've never seen before
Does any of that bring any insight? |
I think this would be easier to follow and more likely to be productive on the users' mailing list. Many more people would see it, and it would be possible to respond to particular messages instead of ending up with this single linear thread. It is also more appropriate because this does not appear to be a bug in mpl. When you move your question to the mailing list, you can also provide more information--a more thorough description of how you generate the problem (e.g., running interactively from the plain python prompt? From ipython --pylab? From a script?), and of what might have changed on your system at the time of transition from working to non-working. I'm going to close this issue, but you can still refer to it in your post to the matplotlib-users list. |
OK, how do I post to matplotlib-users? |
http://matplotlib.org/faq/troubleshooting_faq.html Go to https://lists.sourceforge.net/lists/listinfo/matplotlib-users to subscribe. Do not select the "batched in a daily digest" option, because it makes it difficult to respond properly to individual messages, and at least while you are trying to get a problem solved, you will want to do so. Once subscribed, you simply write to matplotlib-users@lists.sourceforge.net. |
Lately when I try to show a plot, a white box shows up on my screen in the shape of the window that should be produced, but it doesn't have any UI elements -- no "X" button, no title-bar, nothing. Screenshot below:
The plain white box in the center of the screen shows up when
draw()
is called, in the shape of the figure that matplotlib should produce, but never fills in with anything.In an interactive Python session I can produce plots, but I get the following barfed back:
I have installed and tried all versions of Matplotlib available on the website, and I have had the same problem with every one. Since I'm running Mac OS X 10.6, it seems likely that it's an issue related to my OS but I can't remedy it with any of the recommended tips on stackoverflow. I'm aware of the setup precautions for OSX regarding libpng and freetype and I know that both are properly installed. To ensure that it wasn't an installation issue due to something silly like that, I tried installing Enthought and running their version of matplotlib, but I still have the same problem.
The text was updated successfully, but these errors were encountered: