We can actually check from Python whether it's a framework install or not.
>>> import MacOS
>>> MacOS.WMAvailable()
returns True if it's a framework install, False if not.
I can add this check to the MacOSX backend and print out a warning if it's not
a framework install.
--Michiel
--- On Wed
On Wed, May 26, 2010 at 4:20 PM, Michael Droettboom wrote:
> On 05/26/2010 04:47 PM, T J wrote:
>> When I plot, I get:
>>
>> UserWarning: findfont: Font family ['sans-serif'] not found. Falling
>> back to Bitstream Vera Sans
>> (prop.get_family(), self.defaultFamily[fontext]))
>>
>> My matplotl
I am using the EPD and have have an issue with saving( I cant type in a name
for the file) Are you using the 64bit? I don't think wx runs in 64 bit and
so something else is used in the EPD 64 distro. Not really clear on this and
has been awhile since I looked at it.
On Tue, May 25, 2010 at 12:51 P
On 05/26/2010 04:47 PM, T J wrote:
> When I plot, I get:
>
> UserWarning: findfont: Font family ['sans-serif'] not found. Falling
> back to Bitstream Vera Sans
>(prop.get_family(), self.defaultFamily[fontext]))
>
> My matplotlibrc file has:
>
> font.sans-serif: Computer Modern Sans Serif
> font
On 05/26/2010 12:31 PM, Jose Guzman wrote:
> Dear Matplotlib users,
>
> I need to plot a (time x distance) array of measurements associated with
> a color bar. Although time is fixed (i.e 0, 1, 2, etc..), to the number
> of rows, the distances are not evenly distributed (e.g are fixed to
> 1.22, 1.
Dear Matplotlib users,
I need to plot a (time x distance) array of measurements associated with
a color bar. Although time is fixed (i.e 0, 1, 2, etc..), to the number
of rows, the distances are not evenly distributed (e.g are fixed to
1.22, 1.53, 1.84, 2,11.), although are always constant.
My
Jonn-- Thanks very much. Customizing the backend to TkAgg solved the
problem.
Chloe--thanks for your advice as well!
On Wed, May 26, 2010 at 3:21 PM, John Hunter wrote:
> On Tue, May 25, 2010 at 10:40 PM, Ted Rosenbaum
> wrote:
> > Hi,
> > I am a real newbie at matplotlib, so I apologize if t
When I plot, I get:
UserWarning: findfont: Font family ['sans-serif'] not found. Falling
back to Bitstream Vera Sans
(prop.get_family(), self.defaultFamily[fontext]))
My matplotlibrc file has:
font.sans-serif: Computer Modern Sans Serif
font.serif: Computer Modern Roman
font.monospace: C
On Tue, May 25, 2010 at 10:40 PM, Ted Rosenbaum wrote:
> Hi,
> I am a real newbie at matplotlib, so I apologize if this is an obvious
> question.
> I am running ipython in emacs and while the first time I use the show()
> command in the ipython buffer the graph shows up fine, subsequent times that
On 26 May 2010 17:20, Carlos Grohmann wrote:
> I can interpolate my data using rbf, but only inside a rectangular
> area (mesh). I'm looking into how to interpolate data inside a
> circular area, that is, disregarding anything outside a circle (or a
> polygon, like a convex hull)
>
If you can de
My near-newbie suspicion is that you're using more tools than you need
and having them interfere with each other. The show() command
generally doesn't return control to whatever called it until you've
closed the shown window
(http://bytes.com/topic/python/answers/635142-matplotlib-basic-que
On Mon, May 24, 2010 at 10:04 AM, Fredrik Pihl wrote:
> some googling gives this thread:
> http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg16191.html
>
> but that doesn't solve the problem, just makes it different...
Different, but much easier to solve.
Unfortunately, Matplo
Hi
This probably belongs in Proj mailing list, but .
I want to specify a line/sample horizontal/vertical tile in a 1 Km
resolution sinusoidal projection and get back a lat/lon.
Anyone know how to do this?
Mathew
--
Daniel Welling wrote:
> A quick update on Mac backends:
> While I don't want to drag this thread on forever, I feel like some of
> this info is useful for the Mac/MPL community. I would love to hear
> from anyone else who has the OSX backend problem; it seems to be
> isolated to Fink.
I'm st
Thanks Fabrice.
I can interpolate my data using rbf, but only inside a rectangular
area (mesh). I'm looking into how to interpolate data inside a
circular area, that is, disregarding anything outside a circle (or a
polygon, like a convex hull)
tks
Carlos
On Wed, May 26, 2010 at 09:29, Fab
A quick update on Mac backends:
1) Two others in my office use macports, python 2.6, mpl 99.1, and
snowleopard. They have none of the issues I have with the GUI stuff. Most
notably, their MacOSX backends work properly in both X11 and native Mac
terminal.
2) I cannot follow up on WxPython or Qt4 f
On Wed, May 26, 2010 at 10:47 AM, Pim Schellart wrote:
> Dear John and George,
>
> I am happy to report that everything is now working!
> The latest SVN patch fixed the fetch problem and a complete removal of
> my custom compiled libpng and libfreetype2 followed by:
>
> sudo make -f make.osx fetch
Dear John and George,
I am happy to report that everything is now working!
The latest SVN patch fixed the fetch problem and a complete removal of
my custom compiled libpng and libfreetype2 followed by:
sudo make -f make.osx fetch deps mpl_build mpl_install
sudo python setup.py install
did the re
Brilliant, that worked perfectly!
Thanks very much,
Sarah
Jae-Joon Lee wrote:
> You need to define your own transform. And the best way is to read
> through the transforms.py. Here is a modified version of your example
> that uses a custom transform.
>
> However, often you may need to use a custo
today i produced an image that failed to save to eps.
i can save the file in pdf, but i get the same error if i try to use
pdf2ps. png works too, but its not vector.
not sure if its important, but the image has 401 lines, with 500 points
each.
the image is produced from a bunch of data files a
Yes I wrote about problem with show() , too
is matplotlib seriouse project
Sandy
Hi,
I am a real newbie at matplotlib, so I apologize if this is an obvious
question.
I am running ipython in emacs and while the first time I use the show()
command in the ipython buffer the graph
There is no clear api to manage this.
Try something like
ax = gca()
for t in ax.xaxis.get_major_ticks():
t.tick1On = False
t.tick2On = False
-JJ
On Wed, May 26, 2010 at 6:30 AM, John Reid wrote:
> Hi,
>
> This is probably easy to do but I didn't work it out from the
> documentation so
You need to define your own transform. And the best way is to read
through the transforms.py. Here is a modified version of your example
that uses a custom transform.
However, often you may need to use a custom locator also for this kind
of transform.
HTH,
-JJ
from matplotlib.transforms import
On Wed, May 26, 2010 at 5:18 AM, Pim Schellart wrote:
> Hi John and George,
>
> I did of course rtfm :)
> However when I do this for the latest svn checkout I get:
>
> matplotlib $ PREFIX=/usr/local sudo make -f make.osx fetch deps mpl_install
> Password:
> python2.6 -c 'import urllib;
> urllib.ur
Le mardi 25 mai 2010 à 21:47 -0300, Carlos Grohmann a écrit :
> Dears, I want to interpolate some irregular data using radial basis.
> Can I interpolate only the data that falls inside a circle (or a
> polygon)?
May these pages help you?
http://www.scipy.org/Cookbook/RadialBasisFunctions
http://do
Hi,
I've made a matplotlib plot with frequency on the x-axis, and I would
like to add an additional x-axis at the top that is measured in
wavelength , i.e. wavelength = 3e8 / frequency
Is there anyway to do this transformation automatically in matplotlib?
I tried to give a transformation argu
Hi,
This is probably easy to do but I didn't work it out from the
documentation so far. How do I remove the tick lines on a plot but keep
the labels?
Thanks,
John.
--
___
M
Hi John and George,
I did of course rtfm :)
However when I do this for the latest svn checkout I get:
matplotlib $ PREFIX=/usr/local sudo make -f make.osx fetch deps mpl_install
Password:
python2.6 -c 'import urllib;
urllib.urlretrieve("http://www.zlib.net/zlib-1.2.3.tar.gz";,
"zlib-1.2.3.tar.gz"
>w/o seeing the entire code it is difficult to diagnose. Nothing looks
>wrong with your code. However, for full control I suggest you use the
>API; see examples at
>http://matplotlib.sourceforge.net/examples/api/index.html and take a
>look at the "artist tutorial" at
>http://matplotlib.sourcefor
Thanks I guess that did the trick!
On Tue, May 25, 2010 at 9:37 PM, Eric Firing wrote:
> On 05/25/2010 10:21 AM, Michael Droettboom wrote:
> > There isn't a way to embed Type 1 fonts, but you can force matplotlib to
> > use the core 14 Postscript fonts only by setting the rcParam "ps.useafm"
> >
30 matches
Mail list logo