Re: [Matplotlib-users] speed up imports?

2010-04-02 Thread Andrew Kelly
library), which opens ~500 files. How does the total time of import pytz compare? Mike Andrew Kelly wrote: I see. I was wondering why it spit out a binary file. test.out is attached... -Andy On Fri, Apr 2, 2010 at 10:55 AM, Michael Droettboom md...@stsci.edumailto: md...@stsci.edu

[Matplotlib-users] speed up imports?

2010-04-01 Thread Andrew Kelly
Has anyone had any success in speeding up the mpl imports? import matplotlib.pyplot as plt ( or from matplotlib.figure import Figure) takes 6 full seconds to load. That seems excessive. Any ideas? -Andy -- Download

Re: [Matplotlib-users] speed up imports?

2010-04-01 Thread Andrew Kelly
Eric, I am running it on a windows 7 machine and a windows XP machine. Odd that it does this only on win32. -Andy On Thu, Apr 1, 2010 at 4:17 PM, Eric Firing efir...@hawaii.edu wrote: Andrew Kelly wrote: Has anyone had any success in speeding up the mpl imports? import matplotlib.pyplot

Re: [Matplotlib-users] Top/Right Tick Labels

2010-01-22 Thread Andrew Kelly
, Jan 21, 2010 at 2:31 PM, Andrew Kelly ndruke...@gmail.com wrote: Turning label2On = true turned on the labels as directed. However, the function label2.set_text(New Tick Label) does not update the actual text. I can set_size(), etc and it works, but set_text() does not update

[Matplotlib-users] Top/Right Tick Labels

2010-01-21 Thread Andrew Kelly
Can someone point out how to simply label the ticks on the top and right of a plot? twinx() and twiny() are not necessary because I don't need independent scales and the mpl_toolkits.axes_grid.parasite_axes module is a bit too limiting for my purposes. (Part of my confusion stems from the fact

Re: [Matplotlib-users] Top/Right Tick Labels

2010-01-21 Thread Andrew Kelly
lee.j.j...@gmail.com wrote: On Thu, Jan 21, 2010 at 1:16 PM, Andrew Kelly ndruke...@gmail.com wrote: (Part of my confusion stems from the fact that I can access the Tick instances on the Axis but when I call Tick.set_label2(New Label) the label does not get drawn. Perhaps I am being daft

Re: [Matplotlib-users] Unknown Path Error

2009-08-31 Thread Andrew Kelly
was tripping over the Artist.contains() function call when used with line2D. On Mon, Aug 31, 2009 at 1:28 PM, Michael Droettboom md...@stsci.edu wrote: Can you provide a standalone example that reproduces this error? Cheers, Mike Andrew Kelly wrote: I recently re-installed matplotlib (0.99

[Matplotlib-users] Align Text (Relative)

2009-08-13 Thread Andrew Kelly
I am currently using the annotate() method for my data points and I was curious if there is a way to center a line of text relative to a line of text below it. I am currently using two annotate() function calls in a row (I need the text to be different colors) but I need the first one to act as a

[Matplotlib-users] Dog Ear?

2009-04-15 Thread Andrew Kelly
Hello,I am relatively new to matplotlib but I get the basics. What I need to do though is a slightly customized graph area. There are two plots on the same graph - a parabola and a straight line (with a negative slope) north east of the parabola. This graph has grid lines. Simple enough, but