For what it's worth, the WX backend isn't working for me with wxPython
2.8.4; I get the following when I attempt to show a figure:
File C:\Program
Files\Python25\lib\site-packages\matplotlib-0.98.0_r5467-py2.5-win32.egg\mat
plotlib\backends\backend_wx.py, line 474, in select
Hi, Andrea. Yes, I bet that upgrading would resolve the issue. However,
the issue isn't getting in my way at the moment, since I use the WXAgg
backend and it works well as far as I can tell. I mainly wanted to point
out for informational purposes -- and I may have been unclear about my point
--
Quoting Fabrice Silva:
Using version 0.91.2, I do not manage to push ticks labels to
the right side of the axis, keeping ticks lines on both
sides. How can I do it ?
One solution is
yax = gca().yaxis
yax.set_ticks_position('right')
# labels right side; removes left ticks
-Original Message-
From: Joshua J. Kugler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 18:39
On Tuesday 04 November 2008, Joshua J. Kugler said something like:
Here is one way to do it::
for label in ax.get_xticklabels() + ax.get_yticklabels():
From: Mark Bakker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2008 06:25
Hello list -
I am trying to change the yticks on my colorbar (in combination with contourf)
and cannot figure
out how to do it.
Short example:
x,y = meshgrid(linspace(0,10),linspace(0,10))
a =
From: Mark Bakker [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2008 10:48
Thanks Stan.
I read the docs (which are quite nice), but couldn't find a way to set the
ticks after the fact.
But your method worked,
Mark
It seems to me that setting the ticks after the fact is more
Another approach is to use the subplotpars kwarg to adjust
the positioning parameters when initializing the figure.
Here's how I like to implement that approach when I want strict dimensions:
figW = 6.5 # in inches
figH = 7
fig = figure(figsize=(figW, figH),
On Wed, Sep 2, 2009 at 11:43 AM, Christopher Barkerchris.bar...@noaa.gov
wrote:
MS simply doesn't lay well with open vector formats, I think PNG with
the right DPI, etc is still probably your best bet.
Yes, I think I have to stick to this option
I agree; in my experience, a bitmap such
-Original Message-
From: Shixin Zeng [mailto:zeng.shi...@gmail.com]
Sent: Wednesday, September 02, 2009 16:11
While for embeding eps files in word, I've just tried that. MS word
2007 seems to have some problem on this. See the attached eps
file produced from matplotlib. In MS
From: Michael Droettboom [mailto:md...@stsci.edu]
Sent: Wednesday, September 09, 2009 08:17
This change has gone into effect (for me at least on a Liux
box). Can anyone test Windows and Mac and report back?
On Windows 7RC, Firefox 3.5.2 and IE 8.0 see
matplotlib-0.99.0.win32-py2.6.exe.
From: Christopher Barrington-Leigh
[mailto:cpblpublic+nab...@gmail.com]
Sent: Sunday, September 27, 2009 21:58
Hello. My problem is as follows:
(ipython --pylab)
from pylab import *
pp=plot([0,0],[1,1])
text(xlim()[0],1,'Need padding ',horizontalalignment='left')
From: Werner F. Bruhin [mailto:werner.bru...@free.fr]
Sent: Friday, October 23, 2009 07:31
I am just installing Windows 7 Pro and I am running into a
problem with matplotlib.
When running e.g. barchart_demo.py I get an error that it can
not find msvcp71.dll (the dll is in C:\Python25)
From: Werner F. Bruhin [mailto:werner.bru...@free.fr]
Sent: Saturday, October 24, 2009 06:23
Installed Py 2.6.3 and I don't see the issue there, but not
all libraries I use are on 2.6 yet.
So, I thought lets install Python(x, y) and give this a try,
but I can't find a Python 2.5.x
From: Werner F. Bruhin [mailto:werner.bru...@free.fr]
Sent: Saturday, October 24, 2009 09:03
I got it working by adding C:\Python25 to the path
environment variable. Works but smells very much like a work around.
I'm glad you got things working. For what it's worth, my path contains not
From: Craig Lang [mailto:cr...@grapheneindustries.com]
Sent: Monday, October 26, 2009 13:04
Greetings,
I am using matplotlib to generate an SVG plot containing a mixture of
Annotations and Circles. I noticed that the annotation text does not appear at
exactly the correct location when
From: Piter_ [mailto:x.pi...@gmail.com]
Sent: Tuesday, October 27, 2009 14:37
Hi all.
I have a problem with loading file of following format:
first 1024 rows are tab delimited and contain from 2 to 256 elements (in
different files different number of columns)
after that 5 empty lines
and at the
From: C M [mailto:cmpyt...@gmail.com]
Sent: Friday, February 12, 2010 17:15
I would like to understand your approach better. So far, I can't get
your code to produce the margins indicated--but I'm probably
applying it wrongly. I don't know how to force an autoscale, for
example. Your
From: MONTAGU Thierry [mailto:thierry.mont...@cea.fr]
Sent: Friday, May 21, 2010 09:37
has anyone ever tried to make a quantile-quantile plot with pylab?
is there any build in function named say qqplot available ?
For a plot comparing samples to a theoretical distribution (and if you don't
From: Nie, Jinsuo [mailto:j...@bnl.gov]
Sent: Tuesday, June 22, 2010 09:33
...
I modified the path_editor.py example in order to make a line editor, as
attached. The path_editor.py worked fine on Qt4Agg. However, in the
line editor, the line was not draggable on the same backend.
...
The
From: Yi Shang [mailto:mirandaisb...@gmail.com]
Sent: Friday, August 27, 2010 17:33
Hi Ben,
Thanks for the reply. I did try to match font.family and font.$family and I am
using matplotlib 0.99.0.
I did find something interesting...
For testing, I tried only using font.family line, (deleting
From: Yi Shang [mailto:mirandaisb...@gmail.com]
Sent: Friday, August 27, 2010 15:34
from numpy import *
from matplotlib import pyplot as plt
import pylab
params = {'font.size' : 16,
'axes.labelsize' : 16,
'font.style' : 'normal',
'font.family' : 'sans-serif',
From: Jeremy Lewi [mailto:jl...@intellisis.com]
Sent: Friday, September 17, 2010 17:38
Is there a way to get the size of the bounding box for the axes which includes
the axes labels and tick marks? It looks like Axes.get_position/set_position
refers to the inner position (i.e the actual plot
From: Nicolas Bigaouette [mailto:nbigaoue...@gmail.com]
Sent: Thursday, September 30, 2010 18:00
What I would like to do it have a colormap which is transparent for lower
values of data and opaque for high values, so the blue on the figure would
appear white/transparent.
Would it suffice for
From: Sebastian Rhode [mailto:sebrh...@googlemail.com]
Sent: Wednesday, September 29, 2010 13:02
if I plot an normal figure the toolbar contains an button (looks like a
checkbox), which can be used to edit the lines and axes parameters. But when I
embed such a figure in an Wx application, this
From: Thøger Emil Juul Thorsen [mailto:thoe...@fys.ku.dk]
Sent: Monday, October 18, 2010 14:04
I'm using the excellent font Linux Libertine for writing my thesis, in
which I do my plotting in matplotlib. I would really love to
be ablu to
have consistent fonts in both text and graphs - is
From: Brian J. Soher [mailto:bso...@briansoher.com]
Sent: Thursday, October 14, 2010 10:27
I'm using matplotlib 0.98.5.2, wxPython version 2.8-msw-unicode, on
Windows XP Professional x64 at work (and 32bit at home). At work I
have a plain old Dell 2 button mouse with a scroll wheel
From: Alan G Isaac [mailto:ais...@american.edu]
Sent: Thursday, October 14, 2010 19:12
ax.stem(x, y, '-.') draws the stem second,
so that it is visible on top of the dot.
Is this intentional?
(I think it looks better with the dot on top.)
How to reverse?
I would usually place the dot
From: Ruggero [mailto:giurr...@gmail.com]
Sent: Thursday, October 21, 2010 17:59
I want to merge axes from f1 and f2 in a unique axes (withou splitting
the figure). For example if f1 produces a line and f2 produces another
line I want to see two lines in the same plot at the end.
If you
From: Alan G Isaac [mailto:ais...@american.edu]
Sent: Friday, October 22, 2010 13:25
On 10/22/2010 12:39 PM, Stan West wrote:
markerline.set_zorder(markerline.get_zorder() + 0.1)
Nice idea.
Thanks,
You're welcome. Now that I look at it again, I suppose that something like
From: Gino Serpa [mailto:gino.se...@gmail.com]
Sent: Sunday, October 31, 2010 13:52
I am trying to change the format of the tick labels in a loglog plot from
exponential to decimal.
Right now the labels are 10^2 10 1 10^-1 10^-2
and I would like them to be 100 10 1 0.1 0.01
I tried finding
From: Nikolaus Rath [mailto:nikol...@rath.org]
Sent: Saturday, October 30, 2010 16:17
but if I try to do the same think with the Y axis, everything looks
messed up (e.g. the matrix is no longer square):
The matrix remains square for me using a build from Subversion. What's your
From: Thøger Emil Juul Thorsen [mailto:thoe...@fys.ku.dk]
Sent: Tuesday, November 09, 2010 11:10
I'm trying to do a fill-between part of a spectrum and its continuum
value. I would strongly prefer the drawstyle to be steps, since each
data point represents a bin (or pixel, to be precise).
From: Gianfranco Durin [mailto:g.du...@inrim.it]
Sent: Wednesday, November 10, 2010 11:32
Dear mpl users,
I have the following problem to solve. Imagine to have the
simple example reported on website plotting the errorbars of
some x,y data:
...
and if I change, for instance, y:
y
From: D [mailto:dali...@gmail.com]
Sent: Friday, November 12, 2010 16:52
I am running Python 2.5.2 on win xp sp3 on an Intel Core2 Duo. After
installation of matplotlib-1.0.0.win32-py2.5.exe I get a Windows crash
on importing pylab.
import pylab - An unhandled win32 exception occured in
From: G. Durin [mailto:g.du...@inrim.it]
Sent: Tuesday, November 23, 2010 08:34
snip
# Update the error bars
barlinecols[0].set_segments(zip(zip(x-xerr,y), zip(x+xerr,y)))
barlinecols[1].set_segments(zip(zip(x,y-yerr), zip(x,y+yerr)))
The last lines are a little clumsy, but I could not
From: Nat Echols [mailto:nathaniel.ech...@gmail.com]
Sent: Thursday, March 31, 2011 16:47
I'd like to divide the line segments up to get a smoother color gradient, but
the values are dictated by the experiment, not a mathematical function.
snip
so I guess what I'm really asking for is a way
From: David Just [mailto:just.da...@mayo.edu]
Sent: Friday, August 12, 2011 11:05
Now that I'm pre-building all my enlarged interpolated images to scroll
through, I'm having trouble forcing the figure/FigureCanvas to be the size I
want.
I'm trying:
fig.set_size_inches(768 / 72.0, 768 /
From: André Dankert [mailto:andre.dank...@googlemail.com]
Sent: Friday, August 19, 2011 04:12
I have a minor style problem, but, nevertheless, I can't solve it with googles
help. I want to have a minimum precision displayed on my ticks, i.e. if the
ticks are -1,-0.5,0,0.5,1 it should be
From: Benjamin Root [mailto:ben.r...@ou.edu]
Sent: Friday, August 19, 2011 13:43
I have an arbitrary list of coordinates that I know represent the boundary of
a polygon. Is there some sort of function from the contouring or path codes
that would allow me to pass in that list and get back the
From: ben.v.r...@gmail.com [mailto:ben.v.r...@gmail.com] On Behalf Of Benjamin
Root
Sent: Friday, August 26, 2011 13:11
Actually, that might be useful. The current solution I have is to use the core
contouring function in mpl to generate paths, but they doesn't seem to
guarantee either clockwise
From: questions anon [mailto:questions.a...@gmail.com]
Sent: Wednesday, November 02, 2011 17:17
Thanks, I think you are right about the datetimes for the x axis causing the
problem.
Does anyone have any ideas how to resolve this?
Does it help to call ax.xaxis_date() before your calls to
From: Russ Dill [mailto:russ.d...@gmail.com]
Sent: Saturday, January 21, 2012 16:31
I'm using matplotlib from pylab to generate eye patterns for signal
simulations.
...
Is there any way within matplotlib to do that right now?
One way combines Numpy's histogram2d and matplotlib's imshow,
From: Jerzy Karczmarczuk [mailto:jerzy.karczmarc...@unicaen.fr]
Sent: Sunday, May 27, 2012 12:56
Gordon Hardmant :
I ...cannot find a simple way to stop a curve being drawn once it crosses
another curve. In the attached example, I am trying to draw the solid
curve only until it
From: Eric Firing [mailto:efir...@hawaii.edu]
Sent: Wednesday, June 06, 2012 13:41
To: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] scatter plot with constant x
On 06/06/2012 06:42 AM, Ethan Gutmann wrote:
...
No, but you can do this:
plt.plot([3] * 4,
From: Andre' Walker-Loud [mailto:walksl...@gmail.com]
Sent: Thursday, June 21, 2012 22:19
Hi All,
Trying to tune alignment of xtick labels.
[...]
Try as I might, I can not figure out how to get these to
align how I want (I have tried all the options from
verticalalignment=option in
From: Mark Bakker [mailto:mark...@gmail.com]
Sent: Monday, July 30, 2012 05:54
Hello List,
I am trying to determine the position of the axes after an imshow and am
having problems.
I get a different answer on my Mac (the correct answer) than Windows (the
wrong answer).
[...]
Any thoughts?
From: Mark Bakker [mailto:mark...@gmail.com]
Sent: Tuesday, August 07, 2012 06:42
I tried a few things and found out that doing a pause works.
So why does a pause work, but a draw() or show() does not?
This all on Windows using the standard PythonXY installation.
Here is the code that works
From: Mark Bakker [mailto:mark...@gmail.com]
Sent: Thursday, August 09, 2012 14:43
I am glad to see you can reproduce the error, Stan.
I am running whatever is default with a PythonXY installation (sorry my
windows machine is at work).
Strange behavior.
The code works fine on my mac (PyQt4
From: Daniel Welling [mailto:dantwell...@gmail.com]
Sent: Thursday, September 13, 2012 16:23
Greetings, all.
I have an issue: I have several axes stacked in a column with a common time
vector on each x-axis. Each plot is a contour, so overplotting is not an
option. In a perfect world, I want
49 matches
Mail list logo