Hi,
I am using matplotlib to draw a few bar plots. The library works
wonderfully, but the figures are drawn incorrectly until they are resized
Here is the figure before resizing:
http://imgur.com/MKATg
here is after resizing:
http://imgur.com/bSiOT
It seems that the rectangles of the bar
Hi all,
How can I increase the number of decimal places in yticks
?
Nils
from matplotlib.ticker import ScalarFormatter
formatter =
ScalarFormatter(useMathText=True,useOffset=False)
formatter.set_scientific(True)
formatter.set_powerlimits((-12,12))
print dir (formatter)
import
Thank you all for your help
Using sudo generates an error, without it everything run ok.
:~$ sudo python -c import numpy; print numpy.__version__
Traceback (most recent call last):
File string, line 1, in module
File /usr/local/lib/python2.7/dist-packages/numpy/__init__.py, line
137, in
On Feb 23, 2012 1:39 PM, ava...@famaf.unc.edu.ar wrote:
should I reinstall numpy?
No need. You should be able to build matplotlib without sudo and then
install with sudo
python setup.py build
sudo python setup.py install
Cheers,
Scott
Hello,
I am trying to build the latest version of matplotlib from the git repository
(1cd07a6c) on MacOS 10.7, and regardless of whether I build using the make.osx
file or just 'python setup.py build', the C files get compiled with clang, and
clang raises an error on one of the files:
I've seen the discussion around the re-organization of the matplotlib gallery.
If that might help, here is a link to a small gallery I made.
The overall organization is simply based on subdirectories so maybe it could be
a (temporary) solution for the matplotlib gallery (just matter of moving
It looks like a bug in agg that the stricter clang is picking up. If
you change agg24/include/agg_renderer_outline_aa.h:1368 to read:
const line_profile_aa profile() { return *m_profile; }
does that help? (There's probably other cases like this behind it).
I don't have a complete OS-X
I got my OS-X machine going again -- I'm looking into this further now.
Mike
On 02/23/2012 10:19 AM, Michael Droettboom wrote:
It looks like a bug in agg that the stricter clang is picking up. If
you change agg24/include/agg_renderer_outline_aa.h:1368 to read:
const line_profile_aa
On Thu, Feb 23, 2012 at 5:02 AM, federico vaggi vaggi.feder...@gmail.comwrote:
Hi,
I am using matplotlib to draw a few bar plots. The library works
wonderfully, but the figures are drawn incorrectly until they are resized
Here is the figure before resizing:
http://imgur.com/MKATg
here
On Thu, Feb 23, 2012 at 8:14 AM, Nicolas Rougier
nicolas.roug...@inria.frwrote:
I've seen the discussion around the re-organization of the matplotlib
gallery.
If that might help, here is a link to a small gallery I made.
The overall organization is simply based on subdirectories so maybe
Nicolas Rougier :
I've seen the discussion around the re-organization of the matplotlib gallery.
If that might help, here is a link to a small gallery I made.
The overall organization is simply based on subdirectories so maybe it could
be a (temporary) solution for the matplotlib gallery
Hi Ben,
In the pre-resizing pictures, each bar is drawn as two rectangles, the
first until the lower margin of the standard deviation, the second until
the mean.
It looks like it draws one rectangle from:
0:(MEAN-STD)
and another from:
MEAN-STD to MEAN+STD
After resizing, it is just a single
Hi,
I have an array defined by 3 variables p(x,z,t). I would like to produce
a surface plot with colors defined by p and animate it. That is plot the
value of p at all x and z, over time (t). My code to get p is below but
I really have no idea how to plot this. Anyone know the best way to go
On Thu, Feb 23, 2012 at 10:14 AM, David Craig dcdavem...@gmail.com wrote:
Hi,
I have an array defined by 3 variables p(x,z,t). I would like to produce
a surface plot with colors defined by p and animate it. That is plot the
value of p at all x and z, over time (t). My code to get p is below
I agree, but the current matplotlib gallery is rather clueless about what the
examples are related to until you click an image. I'm personally using the
gallery by looking at an example that match what I've in mind most closely and
then look at the code. But you're right, some structure(s)
I think you are correct - and I think the fact that the line width of the
error bar is larger (compared to the size of the rectangle) gives the
impression the top rectangle is actually darker.
I see - it's just a matter of playing around with the error bar properties
to make it look pretty.
I will never get use to reply-all
-- Forwarded message --
From: josef.p...@gmail.com
Date: Thu, Feb 23, 2012 at 11:31 AM
Subject: Re: [Matplotlib-users] Matplotlib gallery
To: Nicolas Rougier nicolas.roug...@inria.fr
On Thu, Feb 23, 2012 at 11:24 AM, Nicolas Rougier
On Thu, Feb 23, 2012 at 11:32 AM, josef.p...@gmail.com wrote:
I will never get use to reply-all
-- Forwarded message --
From: josef.p...@gmail.com
Date: Thu, Feb 23, 2012 at 11:31 AM
Subject: Re: [Matplotlib-users] Matplotlib gallery
To: Nicolas Rougier
On Thu, Feb 23, 2012 at 10:41 AM, Tony Yu tsy...@gmail.com wrote:
On Thu, Feb 23, 2012 at 11:32 AM, josef.p...@gmail.com wrote:
I will never get use to reply-all
-- Forwarded message --
From: josef.p...@gmail.com
Date: Thu, Feb 23, 2012 at 11:31 AM
Subject: Re:
It seems this was the only source of errors. There is a pull request here:
https://github.com/matplotlib/matplotlib/pull/713
There are plenty of warnings that should probably also be dealt with,
but this at least allows compilation to complete for now.
Mike
On 02/23/2012 10:27 AM, Michael
Just a suggestion. All these ideas sounds like a google code-in task.
http://code.google.com/intl/pt-BR/opensource/gci/2010-11/
I do not know if Matplotlib participated in the past, if not take a
look of last years sympy task list:
https://github.com/sympy/sympy/wiki/GCI-2011-Task-list
If the
On 02/23/2012 01:13 AM, Nils Wagner wrote:
Hi all,
How can I increase the number of decimal places in yticks ?
One way is to install mpl from git master. The ScalarFormatter handles
this situation better now:
In [15]: print '\n'.join([tl.get_text() for tl in ax.get_yticklabels()])
On Thu, Feb 23, 2012 at 10:55 AM, Filipe Pires Alvarenga Fernandes
ocef...@gmail.com wrote:
Just a suggestion. All these ideas sounds like a google code-in task.
http://code.google.com/intl/pt-BR/opensource/gci/2010-11/
I do not know if Matplotlib participated in the past, if not take a
Hello all,
I would like to make small figures (about 3 wide) so that they are exactly
the right size for a LaTeX document I am preparing. This should be
straightforward, but I fear I am running into inherent limitations in the
matplotlib design.
The particular problem is that the dash spacing
I need to use a small linewidth in my plot but the color is still very
clear. However in the legend the small, thin straight line makes it
difficult to tell the color. Is there a way to make the linewidth larger
just in the legend but not on the plot?
On 02/23/2012 10:46 AM, Jeff Klukas wrote:
Hello all,
I would like to make small figures (about 3 wide) so that they are
exactly the right size for a LaTeX document I am preparing. This should
be straightforward, but I fear I am running into inherent limitations in
the matplotlib design.
26 matches
Mail list logo