Damon McDougall damon.mcdoug...@gmail.com writes:
from matplotlib.figure import Figure
ValueError: invalid literal for int() with base 10: '836.364'
I have no clue what is going on. Does anybody have any ideas?
Could you do the following: (if you already exited that Python shell
and can't
Hi Jouni,
Sure. Here is the output from your suggestion:
Python 2.5.4 (r254:67916, Sep 15 2009, 11:16:42)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type help, copyright, credits or license for more information.
from pdb import pm
from matplotlib.figure import Figure
Traceback (most
Damon McDougall damon.mcdoug...@gmail.com writes:
(Pdb) p fh
closed file '/Users/Damon/Library/Fonts/lcmssi8.afm', mode 'r' at
That's a font that probably came with a TeX distribution and somehow got
installed in your font library.
(Pdb) p line
'C 0 ; WX 708.333 ; N Gamma ; B 0 0 836.364
Hi Jouni,
Wow, that worked a treat. Thank you very much! Maybe you should post
that to the -devel mailing list, too!
On the computer that this bug didn't occur, the ~/Library/Fonts
directory is completely empty! I wonder where it is looking for
lcmssi8.afm if it isn't in ~/Library/Fonts
Hello,
all tutorials I've found so far are about the stateful pylab API.
Since I've never worked with Matlab and grew up with doing things in
an OOP way using the pylab interface feels very unnatural for me.
Are there any tutorials to matplotlib that utilise the more pythonic
API? Just
If you are just trying to get started, this might help:
http://econpy.googlecode.com/svn/trunk/software4econ.xhtml#mpl_hints
Ow, see John's list of suggestions.
Alan Isaac
--
Come build with us! The BlackBerryreg;
- backend_wx does a wxPython version check which does not work when the
application is py2exe'd - tracker item 2858638 added and the above wiki page
also contains a work around/correction suggestion.
OK, we will take a look at this too.
Maybe instead of using import wxversion (I
Hello everyone,
when I plot, just for example, a pie graph with two values: 63.7 and 36.3,
matplotlib rounds this values to 64 and 36.
What I must do for matplotlib DO NOT round those values?
Thanks
--
Come build with us!
For pie graphs, you can pass a autopct keyword argument, which is a
format string for the values. For example:
pie([63.7, 36.3], autopct=%.03f)
will display the values with 3 decimal places.
Cheers,
Mike
Gewton Jhames wrote:
Hello everyone,
when I plot, just for example, a pie graph with