From: T J <tj...@gm...> - 2008-06-12 22:28:18
|
On Thu, Jun 12, 2008 at 2:47 PM, John Hunter <jd...@gm...> wrote: > On Thu, Jun 12, 2008 at 4:19 PM, T J <tj...@gm...> wrote: >> I just updated my version of matplotlib to r5496, and now when I type >> show(), nothing happens. What could have gone wrong? Sorry if this is >> simple. I've attached a log of the installation. > > Try > > > rm -rf build > > rm -rf /path/to/site-packages/matplotlib* > > svn up > > python setup.py install > build.out > > python examples/pylab_examples/simple_plot.py --verbose-debug > run.out > > and post build.out and run.out. > > Also, please post svn problems to the matplotlib-devel list > > http://lists.sourceforge.net/mailman/listinfo/matplotlib-devel > Thanks. This has helped me isolate the problem to be some interplay between the Agg backend and usetex being true. With usetex turned on, $ python examples/pylab_examples/simple_plot.py --verbose-debug > run_agg.out fails to produce a plot. When usetex is turned off, the plot is produced. With usetex turned on, $ python examples/pylab_examples/simple_plot.py -dWXAgg --verbose-debug > run_wxagg.out correctly produces a plot. When usetex is turned off, the plot is also produced. Before updating, I never explicitly declared a backend (so I assume it was using Agg), and I was always able to plot with usetex turned on. I've attached my build.out and run.out (for both of the above cases with usetex turned out). How can I further troubleshoot this? I have a workaround now, but I'd like to understand what the problem is. |