On Mon, Mar 28, 2011 at 1:44 PM, C M wrote:
> I need to get the bboxes for time-range bars (matplotlib.patches.Rectangle
> objects) on a bar plot for a custom autoscaling function.
>
> Right now, I get them like this, where rectObj = a bar and bboxes = a list
> of bboxes:
>
> bboxes.append(rectOb
operating system
$ uname -a
Darwin nate-gallaghers-macbook-pro.local 10.6.0 Darwin Kernel Version 10.6.0:
Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386
matplotlib version:
matplotlib-1.0.1-python.org-32bit-py2.7-macosx10.3.dmg
obtained from:
http://sourceforge.net/projects
I should add, I can see that (I think) this needs to use a transform to get
it in data coordinates, because if I do this to each rectObj (each bar):
trans = rectObj.get_patch_transform()
print 'trans is: ', trans
I get:
trans is: BboxTransformTo(Bbox(array([[ 734189.52541214, 730844.],
I need to get the bboxes for time-range bars (matplotlib.patches.Rectangle
objects) on a bar plot for a custom autoscaling function.
Right now, I get them like this, where rectObj = a bar and bboxes = a list
of bboxes:
bboxes.append(rectObj.get_path().get_extents())
print 'bboxes is: ', bboxes
H
Hello all,
i have certain dates that i want to use as the xlabels, i have looked around
but found nothing i can use. I get the date from the netcdf file in a format
something like a timestamp, like: 16216 that i turn into 04:30:16
I want to know how can i use this as a label.
Thx in advance
--
Dear Forum,
I want to send the polar grid lines (circles and radial lines) behind the
plot. How can I do that? I tried other options but unable to do so. Here, I
am taking matplotlib example. Please get back to me on this.
Thanks!!!
Example: polar_demo.py
import matplotlib
import numpy as np
fr
Blast from the past!
I just ran into this and it comes from the fact that
'matplotlib.tests.test_text' is not in the default_test_modules
variable inside matplotlib's __init__.py
Here's the necessary diff:
index 82633a5..649e4d8 100644
--- a/lib/matplotlib/__init__.py
+++ b/lib/matplotlib/__init
Hello all
I am tryint to plot the ticks in scientific notation, and I would like to
set the tick size to 2 digits (i.e. 0.5 x e-7). Instead, I am either loosing
the scientific notation or getting the scientific notation with a number of
too many decimal positions.
The problem is that my numbers
Hello there
I am trying to put together matplotlib-1.0.1-win32-py2.6,
numpy-1.5.1-win32-superpack-python2.6 and
scipy-0.9.0rc1-win32-superpack-python2.6 for py2.6.6.
When I run my file through eclipse I get this error:
Traceback (most recent call last):
File "C:\Documents and Settings\Colby
S
It could be that matplotlib is not finding any fonts on your system
for some reason. It would be useful to know whether any of the examples on the
matplotlib website work for you, or it is something specific to your plot code.
Do you have any non-default settings in your matplotlibrc?
Mike
___
Set the ps.fonttype to "42", which will embed the entire font. ps.fonttype = 3
(the default) subsets the font to only the characters used in the plot, and
stores them as curves for maximum portability.
Mike
From: Lebostein [lebost...@gmx.de]
Sent: Friday
Would you mind filing a bug for this in the issue tracker?
https://github.com/matplotlib/matplotlib/issues
Mike
From: Jim Ford [jford14...@gmail.com]
Sent: Friday, March 25, 2011 11:25 AM
To: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-
I would recommend running the import in the Python profiler to determine
where most of the time is going. When I investigated this a few years
back, it was mainly due to loading the GUI toolkits, which are
understandably quite large. You can avoid most of that by using the Agg
backend. If you're
On Mon, Mar 28, 2011 at 8:19 AM, Paulo J. Matos wrote:
> Hi,
>
> I am trying to use matplotlib on a server which I don't run without it
> installed. I tried untarring it to a folder in the path of PYTHONPATH
> and using it directly without any luck.
>
> Has anyone successfully installed matplotlib
Hello everyone,
I would like to draw the attention on the slow startup of matplotlib.
Indeed, running matplotlib takes a long time.
I performed the following sequence :
```bash
#!/bin/bash
for i in * ; do python2 -c "from temp import * ; plot_(\"${i}\") " ; done
```
with temp.py like this :
Hi,
I am trying to use matplotlib on a server which I don't run without it
installed. I tried untarring it to a folder in the path of PYTHONPATH
and using it directly without any luck.
Has anyone successfully installed matplotlib and its dependencies under
a user account?
Cheers,
--
PMatos
On Mon, Mar 14, 2011 at 9:05 AM, herbie13 wrote:
>
> Hello,
>
> I basically have a Chi-Squared distribution that is dependent on 3
> variables.
> eg. X2(x, y, z)
>
> What I would like to do is be able to plot the chi-squared + 1 surface in
> 3-dimensions.
> eg. I would like to have the three axes
Is it possible to teach matplotlib to calculate text heights without ascender
and descender? If I use a comma to print decimal values (german notation) it
looks awful but the "center of gravity" is not the median. Matplotlib use
the center of the full text height (included ascender and descender
h
18 matches
Mail list logo