Hi. I found a bug in the macos backend.
I get this error when I turn on log plotting on the Y axes; it doesn't
happen when I turn off log plotting. It also doesn't happen when I use
agg.pdf driver.
Is this a well-known problem, or should I put together a little demo
that demonstrates it?
T
plotlib/backends/backend_macosx.py", line
120, in draw_text
self._draw_mathtext(gc, x, y, s, prop, angle)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/matplotlib/backends/backen
Eric,
Thanks for addressing the side-issue. If there were a simple way to
list all of the backends, that might help?
Any idea about the main point?
On Jan 7, 2009, at 12:52 PM, Eric Firing wrote:
> Simson Garfinkel wrote:
>
>> import matplotlib
>> matplotlib.use(
Thanks, Eric. Any idea for a work-around on the bar graphs?
As far as the Mac goes, I'm happy to get you a log-in on one, if you
want.
-Simson
On Jan 8, 2009, at 2:31 PM, Eric Firing wrote:
> Simson Garfinkel wrote:
>> Hi!
>> Below is a sample program. It demonstrates tw
Wow, Eric. That's a lot of stuff! Thanks for looking into this to me.
It would probably be useful to have a warning message or something if
there are 0 values for the log axes.
What do you think?
On Jan 8, 2009, at 11:03 PM, Eric Firing wrote:
> Simson Garfinkel wrote:
>> Tha
Hi. It's me again, asking about dates again.
is there any easy way to a collection using dates on the X axes?
I've taken the collection example from the website and adopted it so
that there is a use_dates flag. Set it to False and spirals demo
appears. Set it to True and I get this error:
>> Hi, Eric.
>> Ah. Just my luck. I always push this stuff in new and unexpected
>> ways.
>> Here's what I'm trying to do --- I want to plot a graph of circles
>> where the size of the circle and color are determined by the data,
>> where the X axis is year/month/day, and the Y axis is just d
Why do you want to use PyQt and not wxwidgets?
On Jan 14, 2009, at 8:19 AM, projet...@club-internet.fr wrote:
> Hello,
>
> I'm searching for informations about using matplotlib interactively
> with PyQt. I
> would like for example to move line with the mouse.
>
>
> ---
Greetings.
I have a colleague who I have worked hard to convert from matlab to
matplotlib.
One issue that has come up is clickable graphs. He would like to be
able to click on the graphs that matplotlib produces and actually have
things happen. For example:
* Display information about a hi
In working on code for matplotlib, I would generally find it easier to
provide an array of objects than to provide an array of X values and a
second array of Y values. I understand that X[] and Y[] is the way
that matlab does it, but we would find it easier to provide an array
of either tup
On Dec 16, 2006, at 1:58 PM, Pierre GM wrote:
>> I've also written a neat pre-processor that allows you to embed
>> python and matplotlib code in LaTeX, so you don't need to have it all
>> spread out. And you can populate the results from SQL queries, right
>> there in the LaTeX. It makes paper wr
Perhaps you have a second installation that you are not aware of.
On Jan 11, 2007, at 12:18 PM, Rich Shepard wrote:
> On Thu, 11 Jan 2007, John Hunter wrote:
>
>> sudo rm -rf your build dir and site-packages/matplotlib and
>> rebuild/reinstall.
>
> John,
>
>Rats! That did not change the resu
Hi. I haven't been active for a while, but now I have another paper
that I need to get out...
Anyway, I need to draw a cumulative distribution function, as the
reviewers of my last paper really nailed me to the wall for including
histograms instead of CDFs. Is there any way to plot a CDF wit
On Mar 18, 2007, at 12:41 PM, John Hunter wrote:
> On 3/17/07, Simson Garfinkel <[EMAIL PROTECTED]> wrote:
>> Hi. I haven't been active for a while, but now I have another paper
>> that I need to get out...
>
> Glad to have you back...
Thanks. I've take
t; On 3/17/07, Simson Garfinkel <[EMAIL PROTECTED]> wrote:
>> Hi. I haven't been active for a while, but now I have another paper
>> that I need to get out...
>
> Glad to have you back...
>
>> Anyway, I need to draw a cumulative distribution function, as the
&g
I'm embarrassed to ask that I'm having trouble building/installing
matplotlib on an intel Mac.
The version at http://matplotlib.sourceforge.net/ wants to give me
an .egg file for my Mac, and I have yet to figure out how to load and
install .egg files. (How come python is such a mess?)
So I
PPC or Universal.
But I finally got it installed. Thanks.
On Apr 4, 2007, at 7:38 AM, Edin Salkovic wrote:
> On 4/4/07, Simson Garfinkel <[EMAIL PROTECTED]> wrote:
>> 2. How do I install an EGG file?
>
> For detailed instructions about eggs see:
> http://peak.telecommunity
On Mar 21, 2008, at 6:12 AM, Michael Droettboom wrote:
> I vaguely recall a bug whereby mathtext on PDF was upside down
> (because the direction of the y-axis was not being inverted)... but
> I can't find the bug report.
>
> It does seem to work in 0.90.1 and 0.91.2 (on Linux at least). Are
1. Moving to matplotlib-0.91.2 solved the problem with PDF generation
on log axes.
2. Installing matplotlib-0.91.2 on Linux required installing these
packages first:
* freetype-devel
* libpng-devel
(Those packages were NOT installed automatically by easy_install)
--
Is there an easy way to label bars with the value of the bar at that
point? I am doing log bars and it would be nice to have them labeled.
I guess I can do this manually using text() and the values returned by
bar(); is there an automatic way to do it?
Thanks!
--
Dear Francesco,
I'm sorry --- it is hard not to read your message and laugh. You
really think that the static type checking of C++ is protecting you?
Well, it may be, but C++ is unsafe in so many other ways that you are
not doing yourself a favor by working in it.
If you want to use a types
Hi. I've seen this problem before.
I think that you need to install freetype developer. The easiest way
to install this is with macports and then type "port install freetype"
On Mar 21, 2008, at 9:50 PM, Andrew Charles wrote:
> Yes it was the matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg I tr
Jpeg.
On Mar 25, 2008, at 8:12 AM, Einar M. Einarsson wrote:
>
> Hi all,
>
> I'm trying to find ways to make the file-size of my PNG images
> smaller.
>
> When I generate my 660*440px image I get a big 168kb file.
> (8bit RGB color model, has an alpha channel (need that) but no
> interlacing s
I'm new to matplotlib; I was using PyX but matplotlib seems further
developed for what I want to do.
One of the problems that I'm having is simply getting started. I've
discovered that there are a whole bunch of dependencies that weren't
obvious in the manual:
* You need PyNum (docu
I'm using matplotlib on a Mac. I tried to do a date plot but got an
error message that pytz is not installed. According to the "using
matplotlib" tutorial pytz it is supposed to be installed
automatically...
Traceback (most recent call last):
File "make_stats.py", line 184, in ?
do_pl
Hi. I'm interested in creating a date plot showing bandwidth along a
link. I want to have a dot in the center of each date with the
average bandwidth and use the error bars to show the 25th and 75th
percentiles. I've been trying to figure out how to do this and am
having problems.
From my
When I look at http://matplotlib.sourceforge.net/tutorial.html with
Safari, I see a lot of broken images. Any ideas?
smime.p7s
Description: S/MIME cryptographic signature
-
Take Surveys. Earn Cash. Influence the Future of I
It's pretty sweet.
I'm having other problems which I will post separately, but this is
working well.
On Dec 3, 2006, at 12:02 PM, Pierre GM wrote:
> On Saturday 02 December 2006 17:39, Simson Garfinkel wrote:
>> Hi. I'm interested in creating a date plot showing bandw
Greetings. I've been having lots of luck with my date plots. But
I've been having a problem getting the dateformatter to work. I'm
using the code below. The dates keep getting formatted with the
default, "Sep 28 2006" instead of what I want, "Sep 28"
Any thoughts?
from datetime import date
HI. I wand to have just horizontal grid lines. Is there any way to do
this? Thanks!
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions
Looks like I need to read *all* of the docstrings. I wish there was
an easy way to search them
On Dec 15, 2006, at 2:49 AM, Eric Firing wrote:
> Simson Garfinkel wrote:
>> HI. I wand to have just horizontal grid lines. Is there any way to
>> do this? Thanks!
>
>
I've discovered that matplotlib does boxplots, and apparently this is
what I should be using for one of the big graphs in my paper.
Two problems:
1. I need to put 45 boxplots on a single date plot. Each of the
boxes has a different amount of data that goes in it. Since the
boxplot()
Hm. thanks for the info. But it's not perfect... I get times in my
formats, but not the dates. Here is the sample code:
#!/usr/bin/python
#
# Example boxplot code
#
from pylab import *
from matplotlib.dates import MonthLocator, WeekdayLocator, DateFormatter
from matplotlib.dates import MONDAY
It would be useful if grid had two options:
drawHorizontalLines = True
drawVerticalLines = True
This way, people who look for suppressing the X or Y lines would find
it in the logical location.
-
Take Surv
>
>
>> Now, how do I get two boxplots on the same plot?
>
> Well, just draw two axes.
> Simson, now that you're more experienced with matplotlib, you
> should really
> start speaking python to it.
I'd love to speak python to it. But it's harder when all of the
examples are in matlab...
>
> f
On Dec 16, 2006, at 11:58 AM, Pierre GM wrote:
>> I'm very confused by the wiki in general. I click on "wiki" and it
>> takes me
>> to something that doesn't obviously have anything to do with
>> matplotlib...
>
> Well, it does say: matplotlib cookbook.
>
>> Like, what's scipy.org? Is it a co
I agree. It may be common in matlab, but it really doesn't belong in
python.
On Dec 16, 2006, at 12:50 PM, Eric Firing wrote:
>
>>> BTW, this whole subplot(ijk) instead of subplot(i,j,k) notation is
>>> really, really confusing to me...
>> Don't get overwhelmed. ijk is a shortcut for (i, j, k)
On Dec 16, 2006, at 1:01 PM, Pierre GM wrote:
>> Hi, Pierre. There's a lot of assumptions here.
> Indeed, and I apologize
>
>> I sort of know what numarray, Numeric and numpy are, but I don't care
>> all that much. I'm just interested in matplotlib for the plotting.
> Well, matplotlib relies on s
>
> I apologize if I offended anyone, this was really not my intention
> at all.
Oh, I was never offended.
> My
> point was that after only a few hours, it is indeed possible to get
> impressive results and become a real MPL pro.
I think that it's possible to get impressive results in a few ho
A friend of mine from MIT who is just finishing his PhD was over for
dinner tonight. We discussed the learning curve of matplotlib and
compared it with other plotting systems that we've both used,
including gnuplot & PyX.
My friend said that he thought that the learning curve was really
hi
On Dec 16, 2006, at 10:25 PM, John Hunter wrote:
>>>>>> "Simson" == Simson Garfinkel <[EMAIL PROTECTED]> writes:
>
> Simson> Greetings. I've been having lots of luck with my date
> Simson> plots. But I've been having a problem
I'm plotting some histograms with hist() --- well, actually with
ax.hist(), where ax is an axis --- and the "normed=1" isn't working
the way I would expect.
from pylab import *
data = sin(arange(0.0,100,.01))
fig = figure()
ax = fig.add_subplot(111)
ax.hist(data,bins=50,normed=1,align='cen
>
> Simson> 3. If I was going to make a major change to the API at
> Simson> this point, it would be to make it so that you don't have
> Simson> a class/function/ identifier called "axes" and another one
> Simson> called "axis." I frequently get confused between these two
> Sims
something a 5e+5 Bps will just be lost. You
*might* get away with e+3, e+6, and e+9, but never the other e's.
On Dec 18, 2006, at 8:53 AM, Darren Dale wrote:
> On Saturday 16 December 2006 20:00, Simson Garfinkel wrote:
>> 1. I think that scientific notation should not be the d
separator
and what to use as a decimal point. Support for I18N is built into
most operating systems. Unfortunately, I don' t know the Python API.
Does anybody?
On Dec 18, 2006, at 10:35 AM, John Travers wrote:
> On 18/12/06, Simson Garfinkel <[EMAIL PROTECTED]> wrote:
>>
45 matches
Mail list logo