Hi Jeff,
Jeff Peery wrote:
Hello,
I've been using matplotlib 0.87 and I upgraded to 0.91. I ran my setup
script for py2exe which had been working flawlessly and now I get an
error stating that the .../mpl-data/fonts is not a regular file or
doesn't exist. I checked the filename path and it
On Mon, 26 Nov 2007, C M wrote:
Basically what I did (sorry if this is too basic, but I'm pretty new to
this and this may jog others to correct deficiencies in this simple
approach) was to:
This is all straightforward and clear. The one statement I've not yet
understood is this:
On Nov 27, 2007 11:27 AM, Rich Shepard [EMAIL PROTECTED] wrote:
On Mon, 26 Nov 2007, C M wrote:
Basically what I did (sorry if this is too basic, but I'm pretty new to
this and this may jog others to correct deficiencies in this simple
approach) was to:
This is all straightforward and
Two questions relating to the display of grid lines in a plot:
1) Can this be controlled programmatically rather than from within
~/.matplotlib/matplotlibrc?
2) Is there a way to display horizontal grid lines without vertical grid
lines?
Pointers to the docs where these questions
Yes. You can do
from pylab import *
...
axes().grid(True) # For both axes
axes().xaxis.grid(True) # Just x
axes().yaxis.grid(True) # Just y
Rather than just an on/off boolean, you can also provide line styles:
axes().grid(color='r',
On Tue, 27 Nov 2007, Michael Droettboom wrote:
You can get the axes through the Figure instance. (I don't know how you have
your embedding set up, but if it's something like embedding_in_wx.py, there's
the line self.fig = Figure((9, 8), 75), so self.fig is a Figure instance).
Thanks,
On Tue, 27 Nov 2007, Eric Firing wrote:
Or just keep track of the axes object when it is created. In
embedding_in_wx.py:
def plot_data(self):
# Use ths line if using a toolbar
a = self.fig.add_subplot(111)
a is the axes instance.
Eric,
Thanks. I had not picked that
On Tue, 27 Nov 2007, Anthony Floyd wrote:
Check the class library documentation for the axes() object.
http://matplotlib.sourceforge.net/matplotlib.axes.html
Anthony,
I've looked at this but didn't absorb it all. Now I'll spend more time
with it.
Your best bet is really to explore the
On Nov 27, 2007 12:10 PM, J.D. Herron [EMAIL PROTECTED] wrote:
Hello,
I'm using boost python to run python embedded in a C++ application on
windows. I would like to be able to have the scripts that run in this
embedded environment be able to display matplotlib plots. I have searched
in
On Nov 27, 2007 11:48 AM, John Hunter [EMAIL PROTECTED] wrote:
Use the subplots_adjust paramters, eg
fig.subplots_adjust(hspace=0)
This wasn't working for me...
from pylab import *
f = gcf()
f.subplots_adjust(hspace=0)
f.add_subplot(121)
f.add_subplot(122)
show()
Adjusting the space after
Doh! Sorry, I adjusted the wrong space.
On Nov 27, 2007 11:56 AM, Tom Johnson [EMAIL PROTECTED] wrote:
On Nov 27, 2007 11:48 AM, John Hunter [EMAIL PROTECTED] wrote:
Use the subplots_adjust paramters, eg
fig.subplots_adjust(hspace=0)
This wasn't working for me...
from pylab import *
Thanks for your replies,
The application itself is actually a legacy app whose GUI is done with WTL
(windows template library) which is a thin veneer on top of the windows
API. I have matplotlib set to use wxAgg as the backend. I'm not inclined
to rebuild the entire app with a different GUI
12 matches
Mail list logo