Hello,
I would like to know if there is a way to plot "broken" axis using
matplotlib. I would like to plot only the left and the right part of a
spectrum, and put a mark on the X axis to show that the axis scaling is
interrupted here.
Thank you,
--
Darckense
http://darckense.online.fr
-
> To use non-ascii characters, you need prefix the string literal with a
> 'u'. For example:
I thought that the u"string" notation was only needed when characters had to
be handled with their utf-8 code
Replacing the r's with u's in the strings in your example solves the
> problem for me on 0.9
Hi everyone, I've been trying to solve this problem for the last few
days without success. I am afraid that part of the problem is my own
lack of understanding of matplotlib/wx's inner workings, this is my
first attempt to a GUI-tool.
I am using th networkx (https://networkx.lanl.gov/wiki) package
The pie wedges are approximated using a 72-sided polygon (each side 5
degrees), rather than a true ellipse. There is a bug that if the wedge
is smaller than a half of a side of this polygon (2.5 degrees) it
creates only one side of the wedge.
This has been fixed on the 0.91.x maintenance branc
It looks like pie() omits slices that are smaller than a few percent.
In the following example, only one pie slice is drawn:
>>> import pylab
>>> pylab.pie([98,2])
>>> pylab.show()
The missing pie slice has neither a color fill nor a boundary (the
arc of the pie slice is missing).
By contrast,
Rob,
You might try substituting "ax.pcolorfast(data)" for
"ax.pcolormesh(data)". It is much faster and uses less memory, unless
you specify a non-rectilinear grid, in which case it falls back on the
quadmesh code behind pcolormesh.
pcolorfast is a unification of slightly modified code from im
To use non-ascii characters, you need prefix the string literal with a
'u'. For example:
u"This is a Unicode string"
Alternatively, you can write out an 8-bit string and then explicitly
decode it into Unicode:
unicode("This is UTF-8", "utf-8")
Replacing the r's with u's in th
Hi,
Is there a way to create annotation or text object at an automatic "best
location", to prevent different annotation from overlapping each other ?
I've seen the " loc='best' " keyword for the legend class and I was
wondering is something similar existed for annotation and text.
Otherwise, i
I'm using a basic Debian Etch distribution.
I've attached a very simple file showing the problem. On my computer,
neither the title, nor the legend are displayed correctly, and I've got
square instead of each non ascii characters.
The attached script gives me the following informations :
matplotl
This probably depends on the backend you are using. Which backend and
on which platform are you having trouble with? 0.90.1 had a number of
Unicode and non-ascii problems that 0.91.2 resolves. You may want to
try that.
Failing that, can you attach a small script that exhibits the problem?
T
On Thursday 17 January 2008 09:05:53 am Michael Droettboom wrote:
> Darren Dale wrote:
> > On Wednesday 16 January 2008 08:22:45 am Michael Droettboom wrote:
> >> But reading Darren's new bug report makes me wonder if my fix was
> >> correct. To be honest, I'm a little confused by the bug report,
Hi,
I would like to use non ascii characters in title and label but with my
current intallation it does not work properly.
There's no warning or error messages when I set a title with some non ascii
characters (I use iso-88599-1 characters, like é or à), but I get a empty
square instead of thes
I was just wondering if there is any "editor" for the figures done in
matplotlib. I mean something like the matlab(TM) figure or esayplot for
QToctave. Since I use a software that use embedded matplotlib and after
having the plot it could be very helpful to have somthing that can help
"tweaking
13 matches
Mail list logo