Hi everyone!
Is there any backend-independent way to get and set the figure window
coordinates and sizes (i.e. in pixels)? Currently when I make new plots they
appear in random locations as determined by my operating system; during
analysis when I'm making and destroying a lot of plot windows I
Hello,
I'm writing a script that removes data from plots by looping over
axes.get_lines(), removing data, then using axes.set_lines(). It works quite
well, but when it's a plot with error bars, the vertical part of the error
bar is not disappearing.
I'm assuming the vertical part is a vline or
I'm not sure if this is a matplotlib issue or what, but all of a sudden I
was not able to do gca() or gcf() correctly.
A simple command-line on pyshell (using wxAgg backend) went like this:
import pylab
pylab.plot([1,2,1]) # figure pops up
pylab.gca().clear(); pylab.show() # nothing happens
without a problem.
I suspect pylab.show() is responsible. It doesn't cause the whole
figure window to flicker when it updates, so I wager it's doing
something smarter than me. Consider me a convert. :)
Thanks!
-Jack
On Jan 18, 2008 9:28 AM, Jack Sankey [EMAIL PROTECTED] wrote:
Hey Mike,
Thanks
Thanks guys! You can also just skip a step and go:
gca().fmt_xdata = str
gca().fmt_ydata = str
:)
I changed it in Axes.py. It would be cool if there was something in
matplotlibrc, but now that I understand how it works, it's no biggy to
me.
Take care,
Jack
On Jan 4, 2008 9:18 AM, John Hunter
Hello,
When you make a figure and move the mouse around inside the axes, the
x- and y-values appear in the status bar. Is there a way to change the
precision of this data? It's only tracking 3 significant figures and I
need more (say you're zoomed in on some data with a large offset).
Is there a