You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
|
1
(11) |
2
(24) |
3
(24) |
4
(31) |
5
(30) |
6
(27) |
7
(25) |
8
(8) |
9
(2) |
10
(12) |
11
(16) |
12
(33) |
13
(18) |
14
(17) |
15
(3) |
16
(7) |
17
(8) |
18
(22) |
19
(20) |
20
(25) |
21
(10) |
22
(17) |
23
(18) |
24
(23) |
25
(15) |
26
(19) |
27
(6) |
28
(7) |
29
(6) |
30
(1) |
31
(12) |
|
|
|
|
|
Thomas Robitaille wrote: > Hi, > > Is there an easy way to force a colorbar to not take up space from the Axes > it is being plotted next to? In the following example, what I would like is > for the top Axes to remain the same size as the bottom one, and for the > colorbar to place itself on the right of the top one. Is this easy to do? > > --- > > import matplotlib.pyplot as mpl > > fig = mpl.figure(figsize=(5,10)) > > ax1 = fig.add_axes([0.2,0.5,0.6,0.3]) > s = ax1.scatter([0.5,0.6],[0.6,0.5],c=[0.5,0.6]) > > ax2 = fig.add_axes([0.2,0.1,0.6,0.3]) > axcbar = fig.add_axes([0.85, 0.5, 0.07, 0.3]) fig.colorbar(s, cax=axcbar) Eric > > fig.canvas.draw() > > --- > > Thanks, > > Tom >
Hi, Is there an easy way to force a colorbar to not take up space from the Axes it is being plotted next to? In the following example, what I would like is for the top Axes to remain the same size as the bottom one, and for the colorbar to place itself on the right of the top one. Is this easy to do? --- import matplotlib.pyplot as mpl fig = mpl.figure(figsize=(5,10)) ax1 = fig.add_axes([0.2,0.5,0.6,0.3]) s = ax1.scatter([0.5,0.6],[0.6,0.5],c=[0.5,0.6]) ax2 = fig.add_axes([0.2,0.1,0.6,0.3]) fig.colorbar(s,ax=ax1) fig.canvas.draw() --- Thanks, Tom -- View this message in context: http://www.nabble.com/simple-colorbar-question-tp24834470p24834470.html Sent from the matplotlib - users mailing list archive at Nabble.com.
MIchael, That's it. I don't have microsoft fonts installed, so it's really reverting to the default font. When I put 'sans-serif', instead of 'Tahoma', it works perfectly. Thanks. On Tue, Aug 4, 2009 at 11:40 AM, Michael Droettboom <md...@st...> wrote: > Can you add the following to the top of your script: > > import matplotlib > matplotlib.rcParams['verbose.level'] = 'debug-annoying' > > and send the output here? > > Most likely the font matching is failing on some other property (e.g. > Tahoma) and reverting to the default font, which is non-bold. I don't have > the Microsoft fonts installed here, so I can't test whether there's > something in particular about them that is causing this failure. > > Cheers, > Mike > > Gewton Jhames wrote: > >> I'm having problems to simply set 'bold' the font weight of some >> annotations. Tryin'this: >> fig = plt.figure(frameon=False) >> ax = plt.gca() >> >> font = matplotlib.font_manager.FontProperties(family='Tahoma', >> weight='extra bold', size=12) >> >> annotation_total = ax.annotate('Total:', xy=(0, -320), xycoords='axes >> points', horizontalalignment='left', verticalalignment='top', >> fontproperties=font) >> The Family and Size work perfectly, only weight is ignored. >> ------------------------------------------------------------------------ >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day trial. Simplify your report design, integration and deployment - and >> focus on what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> > > -- > Michael Droettboom > Science Software Branch > Operations and Engineering Division > Space Telescope Science Institute > Operated by AURA for NASA > >
Thanks for explanation Michael. I do more intensive testing and found than this problem have place in Windows and Linux in all verions of Qt which I have (4.4.3 and 4.5.2). So you are right saying > I don't think this is related to Qt at all, but is illustrating some > sort of bug in the font lookup code. I try to perform some testing with your instructions > Can you try removing fontList.cache and trying again? I *believe* it > lives in "C:\Documents and Settings\${YOURNAME}\Local > Settings\.matplotlib" on Windows, but I'm not a regular Windows user. > You may have to search for it. I remove fontList.cache and try again. And have this debug output: Traceback (most recent call last): File "C:\OSGeo4W\apps\qgis-dev\python\plugins\statist\statist.py", line 114, in doCalcStats d = doStatist.dlgStatist( self.iface ) File "C:\OSGeo4W\apps\qgis-dev\python\plugins\statist\doStatist.py", line 81, in __init__ self.canvas = FigureCanvas( self.figure ) File "C:\OSGeo4W\apps\Python25\lib\site-packages\matplotlib\backends\backend_qt4agg.py", line 57, in __init__ FigureCanvasQT.__init__( self, figure ) File "C:\OSGeo4W\apps\Python25\lib\site-packages\matplotlib\backends\backend_qt4.py", line 103, in __init__ self.resize( w, h ) File "C:\OSGeo4W\apps\Python25\lib\site-packages\matplotlib\backends\backend_qt4.py", line 171, in resize self.draw() File "C:\OSGeo4W\apps\Python25\lib\site-packages\matplotlib\backends\backend_qt4agg.py", line 133, in draw FigureCanvasAgg.draw(self) File "C:\OSGeo4W\apps\Python25\lib\site-packages\matplotlib\backends\backend_agg.py", line 279, in draw self.figure.draw(self.renderer) File "C:\OSGeo4W\apps\Python25\lib\site-packages\matplotlib\figure.py", line 775, in draw for t in self.texts: t.draw(renderer) File "C:\OSGeo4W\apps\Python25\lib\site-packages\matplotlib\text.py", line 452, in draw bbox, info = self._get_layout(renderer) File "C:\OSGeo4W\apps\Python25\lib\site-packages\matplotlib\text.py", line 246, in _get_layout 'lp', self._fontproperties, ismath=False) File "C:\OSGeo4W\apps\Python25\lib\site-packages\matplotlib\backends\backend_agg.py", line 155, in get_text_width_height_descent font = self._get_agg_font(prop) File "C:\OSGeo4W\apps\Python25\lib\site-packages\matplotlib\backends\backend_agg.py", line 195, in _get_agg_font font = FT2Font(str(fname)) RuntimeError: Could not open facefile C:/OSGeo4W/apps/qgis-dev/python/plugins/statist/font/CharisSILR.ttf; Cannot_Open_Resource And then > Also, set the rcParam['verbose.level'] to 'debug-annoying' and send the > output. That may provide some clues as to how the font lookup is failing. I set rcParam['verbose.level'] to 'debug-annoying' and receive large output (see attachment) I do this under Windows, but my colleagues have same problem under Linux, so I ask them to do same things and can send theirs logs later -- реклама ----------------------------------------------------------- Поторопись зарегистрировать самый короткий почтовый адрес @i.ua http://mail.i.ua/reg - и получи 1Gb для хранения писем
On Wed, Aug 5, 2009 at 9:40 AM, per freem<per...@gm...> wrote: > hi all, > > is there a way in matplotlib to plot lines with errorbars, e.g. using > errorbar(...) but instead of lines just have shaded, partly transparent > regions that represent the error bars? people often use this to show > confidence intervals or error bars... an example is here: > > http://eva.nersc.no/vhost/arctic-roos.org/doc/observations/images/ssmi1_ice_ext.png > > where the black line has shaded grey bands around. i'd like to plot > something like this but have the band be partly transparent. I use fill_between for this -- draw the line with "plot" and the shaded region with "fill_between". You can specify the alpha on the fill_between call: http://matplotlib.sourceforge.net/examples/pylab_examples/fill_between_demo.html http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.fill_between JDH
On Wed, Aug 5, 2009 at 10:25 AM, Ryan May<rm...@gm...> wrote: >> is there a way to do this in matplotlib? thanks for your help. > > Not to be rude, but is there any reason you didn't look for pyplot.hexbin > before sending the email? :) Continuing in the non-rude vein :-) See these examples:: http://matplotlib.sourceforge.net/examples/pylab_examples/hexbin_demo.html http://matplotlib.sourceforge.net/examples/pylab_examples/hexbin_demo2.html and this doc string:: http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.hexbin Have fun! JDH
Matthias Michler wrote: > > > ######################### > import numpy as np > import matplotlib.pyplot as plt > > # generate some data on log-scale > x = 10**np.random.uniform(size=1000) > # histogram with log-bining > plt.hist(x, bins=10**np.linspace(0, 1, 10)) > plt.xscale('log') > plt.show() > ############################## > > Hi Matthias, This is exactly what I need - I did not know about the xscale function. Thanks! Tom -- View this message in context: http://www.nabble.com/Histogram-with-logarithmic-x-axis-tp24796094p24831570.html Sent from the matplotlib - users mailing list archive at Nabble.com.
Thanks Mike, you are right, I'm talking only about internationalizing the GUI messages. In my opinion this make matplotlib more friendly to average users and in some cases made programmers life easier. Thanks, Alexander Bruy -- реклама ----------------------------------------------------------- Поторопись зарегистрировать самый короткий почтовый адрес @i.ua http://mail.i.ua/reg - и получи 1Gb для хранения писем
On Wed, Aug 5, 2009 at 9:48 AM, per freem <per...@gm...> wrote: > hi all, > > is there a way to make density plots using hexagonal bins in matplotlib? > what i mean is something like the hexbin package for R, where you can make > density plots where hexagons are plotted in size proportion to the number of > points in that hexagonal bin... see > http://www.bioconductor.org/packages/2.3/bioc/html/hexbin.html > > alternatively, the hexgons can be of the same size but shaded in proportion > to their counts. i am more interested in the case where the hexagons are > sized differently, but in any case, both hexagonal density plots come with > an associated legend on the side that shows the bins: > > > http://bm2.genes.nig.ac.jp/RGM2/R_current/library/hexbin/man/gplot.hexbin.html > > is there a way to do this in matplotlib? thanks for your help. > Not to be rude, but is there any reason you didn't look for pyplot.hexbin before sending the email? :) Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma
hi all, is there a way to make density plots using hexagonal bins in matplotlib? what i mean is something like the hexbin package for R, where you can make density plots where hexagons are plotted in size proportion to the number of points in that hexagonal bin... see http://www.bioconductor.org/packages/2.3/bioc/html/hexbin.html alternatively, the hexgons can be of the same size but shaded in proportion to their counts. i am more interested in the case where the hexagons are sized differently, but in any case, both hexagonal density plots come with an associated legend on the side that shows the bins: http://bm2.genes.nig.ac.jp/RGM2/R_current/library/hexbin/man/gplot.hexbin.html is there a way to do this in matplotlib? thanks for your help.
hi all, is there a way in matplotlib to plot lines with errorbars, e.g. using errorbar(...) but instead of lines just have shaded, partly transparent regions that represent the error bars? people often use this to show confidence intervals or error bars... an example is here: http://eva.nersc.no/vhost/arctic-roos.org/doc/observations/images/ssmi1_ice_ext.png where the black line has shaded grey bands around. i'd like to plot something like this but have the band be partly transparent. is there a way to do this? thank you.
Hi! I am basing my code off the example posted at: http://www.scipy.org/Cookbook/Matplotlib/Gridding_irregularly_spaced_data Gridding irregularly spaced data When I use my own data, I am getting a KeyError (Posted below) However, if I only use a subset of my data (for which the total length=26328), I can get rid of the error: # This subset works # I incremented the final index until I got the error # Length: 19877 x=np.array(R[0:19876]) y=np.array(Z[0:19876]) z=np.array(volt[0:19876]) # And this subset works # I incremented the starting index until I got the error # Length: 19040 x=np.array(R[7288:-1]) y=np.array(Z[7288:-1]) z=np.array(volt[7288:-1]) The weird thing is that these two lengths are different. There doesn't seem to be anything particularly strange about the values near 19876 or 7288. Any ideas? -Tom ##############Error Message ####################### ---> 81 zi = griddata(x,y,z,xi,yi) 82 # contour the gridded data, plotting dots at the randomly spaced data points. 83 CS = plt.contour(xi,yi,zi,15,linewidths=0.5,colors='k') /Library/Frameworks/Python.framework/Versions/4.3.0/lib/python2.5/site-packages/matplotlib-0.98.5.2n2-py2.5-macosx-10.3-fat.egg/matplotlib/mlab.pyc in griddata(x, y, z, xi, yi) 2940 xi,yi = np.meshgrid(xi,yi) 2941 # triangulate data -> 2942 tri = delaunay.Triangulation(x,y) 2943 # interpolate data 2944 interp = tri.nn_interpolator(z) /Library/Frameworks/Python.framework/Versions/4.3.0/lib/python2.5/site-packages/matplotlib-0.98.5.2n2-py2.5-macosx-10.3-fat.egg/matplotlib/delaunay/triangulate.pyc in __init__(self, x, y) 86 self.triangle_neighbors = delaunay(self.x, self.y) 87 ---> 88 self.hull = self._compute_convex_hull() 89 90 def _collapse_duplicate_points(self): /Library/Frameworks/Python.framework/Versions/4.3.0/lib/python2.5/site-packages/matplotlib-0.98.5.2n2-py2.5-macosx-10.3-fat.egg/matplotlib/delaunay/triangulate.pyc in _compute_convex_hull(self) 121 hull = list(edges.popitem()) 122 while edges: --> 123 hull.append(edges.pop(hull[-1])) 124 125 # hull[-1] == hull[0], so remove hull[-1] KeyError: 2559 -- View this message in context: http://www.nabble.com/griddata-array-size-limit--tp24827814p24827814.html Sent from the matplotlib - users mailing list archive at Nabble.com.
On Wed, Aug 5, 2009 at 8:23 AM, John Hunter <jd...@gm...> wrote: > On Wed, Aug 5, 2009 at 8:08 AM, Michael Droettboom<md...@st...> wrote: > > Images added to an axes get added to the axes' "images" member, so you > can > > simply remove it from there. > > It may be more efficient to call im.set_array(newdata) rather than > creating a new image each time. Eg > > > http://matplotlib.sourceforge.net/examples/animation/dynamic_image_gtkagg.html It should be noted, though, that in that case, newdata should be new specgram data, not the original data. matplotlib.mlab has a specgram() function that performs the actual computation performed for the pyplot plotting function of the same name. Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma Sent from Norman, Oklahoma, United States
It appears that I am running 32 bit python. But my computer is a MacMini with an Intel Core 2 Duo, which is supposed to be 64 bit. The python distribution I have installed is Enthought. When I install enthought, everything works smoothly and installs fine, but I would like to be able to update to the current svn trunk to test out the newest features. Uri On Wed, Aug 5, 2009 at 06:54, Michiel de Hoon <mjl...@ya...> wrote: > > Are you running 32-bits or 64-bits Python? > You can find out by running > >>> import sys > >>> print sys.maxint > This will show 2147483647 on 32-bits Python. > > --Michiel. > > --- On Tue, 8/4/09, Uri Laserson <las...@mi...> wrote: > > > From: Uri Laserson <las...@mi...> > > Subject: Re: [Matplotlib-users] Building current SVN trunk on Mac OS X > 10.5 > > To: "John Hunter" <jd...@gm...> > > Cc: mat...@li... > > Date: Tuesday, August 4, 2009, 3:27 PM > > I was wondering if anyone had any > > possible suggestions to fix the build problem I am having > > below. I built libpng as a universal library as described > > below. MPL then builds without any complaints, but gives > > me an import error related to libpng. I'm not a unix > > expert, and I'm not sure how to proceed. > > > > > > > > Thanks! > > Uri > > > > On Thu, Jul 30, 2009 at 01:34, Uri > > Laserson <las...@mi...> > > wrote: > > > > > > The first suggestion failed with the same error, while the > > same suggestion worked up through the last step (make > > installers) which fails with the same error. > > > > I decided to try Tommy's suggestion of just figuring > > out how to compile libpng as a universal binary. The way I > > did it was to run the configuration script as: > > > > > > > > > > > > ./configure --disable-dependency-tracking > > > > and then to manually edit the Makefile. To CPPFLAGS and > > LDFLAGS I added > > > > -arch i386 -arch ppc > > > > Running make and sudo make install successfully built a > > universal library for me. > > > > > > > > > > > > After deleting my old MPL egg, I import matplotlib > > successfully and the version number is as expected > > (0.98.6svn). > > > > However, when I try to import pyplot, I get the following > > exception traceback. Any suggestions on how to fix this? > > > > > > > > > > Thanks again! > > > > In [4]: import matplotlib.pyplot as plt > > > --------------------------------------------------------------------------- > > ImportError > > Traceback (most recent call last) > > > > > > > > > > /usr/local/lib/<ipython console> in <module>() > > > > > /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/pyplot.py > > in <module>() > > 4 from matplotlib import _pylab_helpers, > > interactive > > > > > > > > 5 from matplotlib.cbook import dedent, > > silent_list, is_string_like, is_numlike > > ----> 6 from matplotlib.figure import Figure, figaspect > > 7 from matplotlib.backend_bases import > > FigureCanvasBase > > 8 from matplotlib.image import imread as > > _imread > > > > > > > > > > > /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/figure.py > > in <module>() > > 17 import artist > > 18 from artist import Artist, allow_rasterization > > ---> 19 from axes import Axes, SubplotBase, > > subplot_class_factory > > > > > > > > 20 from cbook import flatten, allequal, Stack, > > iterable, dedent > > 21 import _image > > > > > /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/axes.py > > in <module>() > > > > > > > > 17 import matplotlib.dates as mdates > > 18 import matplotlib.font_manager as font_manager > > ---> 19 import matplotlib.image as mimage > > 20 import matplotlib.legend as mlegend > > 21 import matplotlib.lines as mlines > > > > > > > > > > > /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/image.py > > in <module>() > > 19 # For clarity, names from _image are given > > explicitly in this module: > > 20 import matplotlib._image as _image > > > > > > > > ---> 21 import matplotlib._png as _png > > 22 > > 23 # For user convenience, the names from _image > > are also imported into > > > > ImportError: > > > dlopen(/Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/_png.so, > > 2): Symbol not found: _png_create_info_struct > > > > > > > > Referenced from: > > > /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/_png.so > > Expected in: > > /usr/local/lib/libpng12.0.dylib > > > > > > > > > > > > On Wed, Jul 29, 2009 at 21:46, John Hunter <jd...@gm...> > > wrote: > > > > > > On Wed, Jul 29, 2009 at 4:34 > > PM, Uri Laserson<las...@mi...> > > wrote: > > > > > > > > > > > > > Hi everyone, > > > > > > > > > > I am trying to build the latest svn trunk version of > > MPL on OS X 10.5. I am > > > > > getting the following error: > > > > > > > > Try > > > > > > > > make build_osx105 > > > > python setup.py install --prefix=~/somewhere > > > > > > > > If that doesn't work, try > > > > > > > > cd release/osx > > > > > > > > read the readme there and follow the instructions. This > > will build > > > > mpl the way we do when making a release: fetch the > > dependencies (zlip, > > > > png and freetype) and build them with the right flags, and > > then build > > > > mpl explcitly linking to these libs. > > > > > > > > JDH > > > > > > > > > > -- > > Uri Laserson > > PhD Candidate, Biomedical Engineering > > Harvard Medical School (Genetics) > > Massachusetts Institute of Technology (Mathematics) > > > > > > phone +1 917 742 8019 > > > > > > las...@mi... > > > > > > > > > > -- > > Uri Laserson > > PhD Candidate, Biomedical Engineering > > Harvard Medical School (Genetics) > > Massachusetts Institute of Technology (Mathematics) > > phone +1 917 742 8019 > > > > > > las...@mi... > > > > > > -----Inline Attachment Follows----- > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal > > Reports 2008 30-Day > > trial. Simplify your report design, integration and > > deployment - and focus on > > what you do best, core application coding. Discover what's > > new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > -----Inline Attachment Follows----- > > > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > > -- Uri Laserson PhD Candidate, Biomedical Engineering Harvard Medical School (Genetics) Massachusetts Institute of Technology (Mathematics) phone +1 917 742 8019 las...@mi...
On Wed, Aug 5, 2009 at 8:08 AM, Michael Droettboom<md...@st...> wrote: > Images added to an axes get added to the axes' "images" member, so you can > simply remove it from there. It may be more efficient to call im.set_array(newdata) rather than creating a new image each time. Eg http://matplotlib.sourceforge.net/examples/animation/dynamic_image_gtkagg.html JDH
2009年8月5日 Michael Droettboom <md...@st...>: > I don't think this is related to Qt at all, but is illustrating some > sort of bug in the font lookup code. > > Can you try removing fontList.cache and trying again? I *believe* it > lives in "C:\Documents and Settings\${YOURNAME}\Local > Settings\.matplotlib" on Windows, but I'm not a regular Windows user. > You may have to search for it. Running any pylab script with --verbose-helpful should report the font cache location; see the line starting with "Using fontManager instance from ".... johnh@udesktop191:pylab_examples> python simple_plot.py --verbose-helpful $HOME=/home/titan/johnh CONFIGDIR=/home/titan/johnh/.matplotlib matplotlib data path /home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/mpl-data loaded rc file /home/titan/johnh/.matplotlib/matplotlibrc matplotlib version 0.99.0.rc1 verbose.level helpful interactive is False units is False platform is sunos5 Using fontManager instance from /home/titan/johnh/.matplotlib/fontList.cache backend TkAgg version 8.4 findfont: Matching :family=sans-serif:style=normal:variant=normal:weight=normal:stretch=normal:size=medium to Bitstream Vera Sans (/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf) with score of 0.000000 findfont: Matching :family=sans-serif:style=normal:variant=normal:weight=normal:stretch=normal:size=large to Bitstream Vera Sans (/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/mpl-data/fonts/ttf/Vera.ttf) with score of 0.000000
matplotlib currently has no i18n support. It would be a nice feature to have, it would just take someone with the motivation to do it to provide a patch. Python has gettext support in the standard library, so it should be reasonably straightforward: just the usual busywork of finding translatable strings and marking them. I think it's fair to say that internationalizing the GUI messages would be reasonably easy, internationalizing docstrings would be significant work, and internationalizing the API very close to impossible. I assume you're only talking about the first here. Cheers, Mike Alexander Bruy wrote: > Hi, list > I want to transtate NavagationToolbar tooltips in Russian and Ukrainian. Now I can do this > only with creating custom toolbar (via subclassing) in code. Is there another way to do this? > Maybe, there is any plans to add i18n support to some parts of matplotlib? > > Thanks, > Alexander Bruy > > -- реклама ----------------------------------------------------------- > Поторопись зарегистрировать самый короткий почтовый адрес @i.ua > http://mail.i.ua/reg - и получи 1Gb для хранения писем > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA
I don't think this is related to Qt at all, but is illustrating some sort of bug in the font lookup code. Can you try removing fontList.cache and trying again? I *believe* it lives in "C:\Documents and Settings\${YOURNAME}\Local Settings\.matplotlib" on Windows, but I'm not a regular Windows user. You may have to search for it. Also, set the rcParam['verbose.level'] to 'debug-annoying' and send the output. That may provide some clues as to how the font lookup is failing. Cheers, Mike Alexander Bruy wrote: > Hi, all > > I try to use last stable version of matplotlib 0.9.85.2 with PyQt 4.5.2 under Windows XP Pro SP3, Python 2.5.2 and get error > > Traceback (most recent call last): > File "/home/alex/.qgis//python/plugins/statist/statist.py", line 114, in > doCalcStats > d = doStatist.dlgStatist( self.iface ) > File "/home/alex/.qgis//python/plugins/statist/doStatist.py", line 81, in > __init__ > self.canvas = FigureCanvas( self.figure ) > File "/usr/lib/python2.5/site-packages/matplotlib/backends/backend_qt4agg.py", > line 57, in __init__ > FigureCanvasQT.__init__( self, figure ) > File "/usr/lib/python2.5/site-packages/matplotlib/backends/backend_qt4.py", > line 100, in __init__ > self.resize( w, h ) > File "/usr/lib/python2.5/site-packages/matplotlib/backends/backend_qt4.py", > line 162, in resize > self.draw() > File "/usr/lib/python2.5/site-packages/matplotlib/backends/backend_qt4agg.py", > line 133, in draw > FigureCanvasAgg.draw(self) > File "/usr/lib/python2.5/site-packages/matplotlib/backends/backend_agg.py", > line 261, in draw > self.figure.draw(self.renderer) > File "/usr/lib/python2.5/site-packages/matplotlib/figure.py", line 762, in > draw > for t in self.texts: t.draw(renderer) > File "/usr/lib/python2.5/site-packages/matplotlib/text.py", line 299, in draw > bbox, info = self._get_layout(renderer) > File "/usr/lib/python2.5/site-packages/matplotlib/text.py", line 193, in > _get_layout > 'lp', self._fontproperties, ismath=False) > File "/usr/lib/python2.5/site-packages/matplotlib/backends/backend_agg.py", > line 137, in get_text_width_height_descent > font = self._get_agg_font(prop) > File "/usr/lib/python2.5/site-packages/matplotlib/backends/backend_agg.py", > line 177, in _get_agg_font > font = FT2Font(str(fname)) > RuntimeError: Could not load facefile /; Unknown_File_Format > > Does this means that matplotlib don't work with QT 4.5.2 and I need latest svn version? > With PyQt 4.4.3 same program work fine and there is no errors > > Thanks, > Alexander Bruy > > -- реклама ----------------------------------------------------------- > Поторопись зарегистрировать самый короткий почтовый адрес @i.ua > http://mail.i.ua/reg - и получи 1Gb для хранения писем > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA
Images added to an axes get added to the axes' "images" member, so you can simply remove it from there. I've attached a modified version of your script that does this. It uses a global variable which is probably not best practice, but it should be enough to give you the idea. Cheers, Mike xianthax wrote: > Hello, > > First thanks for the great library, recently came across it and seems quite > useful for what i'm doing. > > What i'm trying to do is create an animated specgram(). I'm feeding in > audio data from a microphone at the moment, although the ultimate use is to > chart data that will be input via the line in audio port from an FMCW radar > front end for basic visualization. > > I've attached simplified code below based from one of your animation > examples that shows my problem. Initially i get fine performance given the > timeout i've set. After about a second or two, performance goes down hill > and progressively gets worse and memory use continues to grow as if each > call to specgram creates a new instance in memory or worse is drawing a new > instance over the old. Is there another way to call specgram to avoid this? > It seems the other plot types generally give the ability to update the data > for an already created graph, i haven't seen a way to do this with specgram, > perhaps this is what i'm missing? Ultimately i would like to get the graph > image out of specgram and append them properly to get a smoother scrolling > effect but i need to get the data out of specgram fast enough first. > > thanks in advance for any pointers. > > import gobject > import numpy as np > import matplotlib > import array > matplotlib.use('GTKAgg') > > import matplotlib.pyplot as plt > import ossaudiodev as oss > > audio = oss.open('/dev/dsp','r') > > print audio.setfmt(oss.AFMT_S16_LE) > print audio.channels(1) > print audio.speed(44100) > > fig = plt.figure() > ax = fig.add_subplot(111) > data = array.array('H',audio.read(5880)) > img = ax.specgram(data, NFFT=1024,Fs=44100, Fc=0,noverlap=64) > > def update(): > data = array.array('H',audio.read(5880)) > img = plt.specgram(data, NFFT=1024,Fs=44100, Fc=0,noverlap=64) > fig.canvas.draw_idle() > return True > > gobject.timeout_add(100, update) > plt.show() > > > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA
On Tuesday 04 August 2009, John Hunter wrote: > Very odd. I suggest opening up setupext.py and finding the > function "check_for_tk". There are a series of test which > ultimately set the "gotit" variable to determine whether you have > tk for building. Insert a lot of debug print statements throughout > the logic of that function and find out where it is failing and let > us know. > > My guess is you will fail in the "explanation = > add_tk_flags(module)" part of the code, so you may need to dive > into there and repeat the exercise to figure out what is failing > and why. If you can repeat the steps that the build process is > attempting in your python shell, you may be able to hone into the > point of failure OK, I've finally tracked this down. There are two issues: 1. On my system with Tk version 8.6 tk.getvar('tcl_library') returns /usr/share/tcl8.6 and tk.getvar('tk_library') returns /usr/share/tk8.6 This means that TCL_TK_CACHE will contain these paths as tcl_lib_dir and tk_lib_dir. Looking at the rest of the file, however, it appears that /usr/lib64 is expected, or /usr/lib64/tk8.6 etc. As a result, in parse_tcl_config (lines 858 ff.) the tclConfig.sh and tkConfig.sh are not found due to this reason, since they reside in/usr/lib64/tcl8.6/tclConfig.sh and /usr/lib64/tk8.6/tkConfig.sh and not in /usr/share/... Fortunately they are picked up by the hardcoded RHEL4 path (line 864-5) because they are symlinked to /usr/lib on my system. 2. From the config file (parse_tcl_config), tcl_lib is returned as /usr/lib64 and tcl_inc as /usr/include/tcl8.6 (likewise for tk), which appears to be OK. However, the main problem is that the method fails (returns None) when trying to locate tk.h (line 911-912). The reason for this is that there again are 2 copies of tk.h on my system (the files are identical): /usr/include/tk.h /usr/include/tk8.6/generic/tk.h but not the expected /usr/include/tk8.6/tk.h. Since tk.h is not found, the error message is generated. A similar error occurs in the guess_tcl_config method due to the location of tk.h (line 946-7) I'm not sure if/how to patch this and keep it generic, but at least it tracks it down. I'm also not sure whether other Tk8.6 releases but their header file in /usr/include/tk8.6/generic/tk.h or whether this is Mandriva 2009.1 specific. Johann
Hi JJ, Thanks for that. It works fairly well, but I've noticed that the graph content (the candlesticks) move slightly faster than the x axis. I've added a sleep(0.1) statement to slow things down, and we can see that at the start the first bar is displayed at around 13:15 but by the times is gets to the left, the same bar is then displayed at about 13:00. Do you have any suggestion on how to improve that? Apart from that, shifting the graph is quite fast. On my machine, I get a frame rate of 30 FPS if I redraw both X and Y axis. The rate goes much higher ( greater than 100 FPS) if I don't redraw the axis. Thanks, Christophe -----Original Message----- From: Jae-Joon Lee [mailto:lee...@gm...] Sent: 05 August 2009 03:36 To: Christophe Dupre Cc: matplotlib-users Subject: Re: [Matplotlib-users] 0.99.0-RC1 and the animation_blit_gtk2 example On Tue, Aug 4, 2009 at 12:14 PM, Christophe Dupre<chr...@vh...> wrote: > Hello, > > > > I've been playing with the animation_blit_gtk2 example > (http://matplotlib.sourceforge.net/examples/animation/animation_blit_gtk2.html > > ) and the latest version of matplotlib version 0.99.0-RC1. > > I've modified the example so that it displays candlesticks moving towards > the lelf. The example is attached if anybody is interested. > > > > > > In my example, I'm using 1 minute bars and therefore I would like to shift > the graph by 1 minute instead of a few pixels. Is there a way to convert a > time difference into pixels? > The "get_dx_data" method coverts a pixel offset to a data offset. So, what you need is just to invert it. This requires some knowledge of transformation, but I guess the code is rather self-explanatory. For example, something like below will work (sorry, I haven't actually tested the code) def get_dx_pixel(self, dx_data): tp = self.ax.transData.transform_point x0, y0 = tp((0, 0)) x1, y1 = tp((dx_data, 0)) return (x1-x0) Regards, -JJ > > > Thanks, > > > > Christophe > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.392 / Virus Database: 270.13.43/2281 - Release Date: 08/04/09 05:57:00
On Wed, Aug 5, 2009 at 5:55 AM, Michiel de Hoon<mjl...@ya...> wrote: > > I am seeing the following error with the GTKCairo and GTKAgg backends: > >>>> figure() > <matplotlib.figure.Figure object at 0x7ebe0cec> >>>> Traceback (most recent call last): > File "/usr/local/lib/python2.6/site-packages/matplotlib/backends/backend_gtk.py", line 249, in enter_notify_event > FigureCanvasBase.enter_notify_event(self, event, guiEvent=event) > TypeError: enter_notify_event() got multiple values for keyword argument 'guiEvent' > Traceback (most recent call last): > File "/usr/local/lib/python2.6/site-packages/matplotlib/backends/backend_gtk.py", line 246, in leave_notify_event > FigureCanvasBase.leave_notify_event(self, event, guiEvent=event) > TypeError: leave_notify_event() got multiple values for keyword argument 'guiEvent' > > whenever I move the mouse into or out of the figure windows. Good catch -- in fixing a sf bug in which the GTK gui event was not getting attached to the scroll event https://sourceforge.net/tracker/?func=detail&aid=2816580&group_id=80706&atid=560720 I noticed most other events were not getting their gui event attached, and apparently went overboard and added them to the enter/leave events when they were already there. Fixed in the svn branch and will be merged into the trunk later -- thanks for catching it JDH
I am seeing the following error with the GTKCairo and GTKAgg backends: >>> figure() <matplotlib.figure.Figure object at 0x7ebe0cec> >>> Traceback (most recent call last): File "/usr/local/lib/python2.6/site-packages/matplotlib/backends/backend_gtk.py", line 249, in enter_notify_event FigureCanvasBase.enter_notify_event(self, event, guiEvent=event) TypeError: enter_notify_event() got multiple values for keyword argument 'guiEvent' Traceback (most recent call last): File "/usr/local/lib/python2.6/site-packages/matplotlib/backends/backend_gtk.py", line 246, in leave_notify_event FigureCanvasBase.leave_notify_event(self, event, guiEvent=event) TypeError: leave_notify_event() got multiple values for keyword argument 'guiEvent' whenever I move the mouse into or out of the figure windows. --Michiel. --- On Fri, 7/31/09, John Hunter <jd...@gm...> wrote: > From: John Hunter <jd...@gm...> > Subject: [Matplotlib-users] matplotlib-0.99.0-rc1 : call for testing > To: "matplotlib-users" <mat...@li...> > Date: Friday, July 31, 2009, 1:44 PM > We have a test release candidate rc1 > of the impending > matplotlib-0.99.0 release, including lots of great new > stuff like the > axes grid and mplot3d toolkits, > > http://matplotlib.sourceforge.net/mpl_toolkits/axes_grid/users/index.html > http://matplotlib.sourceforge.net/mpl_toolkits/mplot3d/tutorial.html > > We have uploaded tarballs, eggs and binary installers for > win32 and > OSX, and would love to have some testers. You can > grab the release > candidates from: > > http://drop.io/xortel1# > > If you have any bugfixes or patches, feel free to post them > here, but > please also post to the tracker > > https://sourceforge.net/tracker/?group_id=80706&atid=560720 > > Thanks to Michael Droettboom with help setting up the > release branch, > Christoph Gohlke for the python2.6 win32 binaries, and > William Stein > for providing a remote OSX box for building and testing OSX > binaries. > > Those of you with svn access can grab the release branch > from:: > > svn co https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v0_99_maint > mpl99 > > and post patches against svn for any bugs you discover and > fix:: > > http://matplotlib.sourceforge.net/faq/howto_faq.html#submit-a-patch > > Thanks to all the developers who contributed in this cycle > -- more > details to follow on the official release announcement next > week. > > JDH > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day > trial. Simplify your report design, integration and > deployment - and focus on > what you do best, core application coding. Discover what's > new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
Are you running 32-bits or 64-bits Python? You can find out by running >>> import sys >>> print sys.maxint This will show 2147483647 on 32-bits Python. --Michiel. --- On Tue, 8/4/09, Uri Laserson <las...@mi...> wrote: > From: Uri Laserson <las...@mi...> > Subject: Re: [Matplotlib-users] Building current SVN trunk on Mac OS X 10.5 > To: "John Hunter" <jd...@gm...> > Cc: mat...@li... > Date: Tuesday, August 4, 2009, 3:27 PM > I was wondering if anyone had any > possible suggestions to fix the build problem I am having > below. I built libpng as a universal library as described > below. MPL then builds without any complaints, but gives > me an import error related to libpng. I'm not a unix > expert, and I'm not sure how to proceed. > > > > Thanks! > Uri > > On Thu, Jul 30, 2009 at 01:34, Uri > Laserson <las...@mi...> > wrote: > > > The first suggestion failed with the same error, while the > same suggestion worked up through the last step (make > installers) which fails with the same error. > > I decided to try Tommy's suggestion of just figuring > out how to compile libpng as a universal binary. The way I > did it was to run the configuration script as: > > > > > > ./configure --disable-dependency-tracking > > and then to manually edit the Makefile. To CPPFLAGS and > LDFLAGS I added > > -arch i386 -arch ppc > > Running make and sudo make install successfully built a > universal library for me. > > > > > > After deleting my old MPL egg, I import matplotlib > successfully and the version number is as expected > (0.98.6svn). > > However, when I try to import pyplot, I get the following > exception traceback. Any suggestions on how to fix this? > > > > > Thanks again! > > In [4]: import matplotlib.pyplot as plt > --------------------------------------------------------------------------- > ImportError > Traceback (most recent call last) > > > > > /usr/local/lib/<ipython console> in <module>() > > /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/pyplot.py > in <module>() > 4 from matplotlib import _pylab_helpers, > interactive > > > > 5 from matplotlib.cbook import dedent, > silent_list, is_string_like, is_numlike > ----> 6 from matplotlib.figure import Figure, figaspect > 7 from matplotlib.backend_bases import > FigureCanvasBase > 8 from matplotlib.image import imread as > _imread > > > > > /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/figure.py > in <module>() > 17 import artist > 18 from artist import Artist, allow_rasterization > ---> 19 from axes import Axes, SubplotBase, > subplot_class_factory > > > > 20 from cbook import flatten, allequal, Stack, > iterable, dedent > 21 import _image > > /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/axes.py > in <module>() > > > > 17 import matplotlib.dates as mdates > 18 import matplotlib.font_manager as font_manager > ---> 19 import matplotlib.image as mimage > 20 import matplotlib.legend as mlegend > 21 import matplotlib.lines as mlines > > > > > /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/image.py > in <module>() > 19 # For clarity, names from _image are given > explicitly in this module: > 20 import matplotlib._image as _image > > > > ---> 21 import matplotlib._png as _png > 22 > 23 # For user convenience, the names from _image > are also imported into > > ImportError: > dlopen(/Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/_png.so, > 2): Symbol not found: _png_create_info_struct > > > > Referenced from: > /Library/Frameworks/Python.framework/Versions/4.0.30002/lib/python2.5/site-packages/matplotlib/_png.so > Expected in: > /usr/local/lib/libpng12.0.dylib > > > > > > On Wed, Jul 29, 2009 at 21:46, John Hunter <jd...@gm...> > wrote: > > > On Wed, Jul 29, 2009 at 4:34 > PM, Uri Laserson<las...@mi...> > wrote: > > > > > > > Hi everyone, > > > > > > I am trying to build the latest svn trunk version of > MPL on OS X 10.5. I am > > > getting the following error: > > > > Try > > > > make build_osx105 > > python setup.py install --prefix=~/somewhere > > > > If that doesn't work, try > > > > cd release/osx > > > > read the readme there and follow the instructions. This > will build > > mpl the way we do when making a release: fetch the > dependencies (zlip, > > png and freetype) and build them with the right flags, and > then build > > mpl explcitly linking to these libs. > > > > JDH > > > > > -- > Uri Laserson > PhD Candidate, Biomedical Engineering > Harvard Medical School (Genetics) > Massachusetts Institute of Technology (Mathematics) > > > phone +1 917 742 8019 > > > las...@mi... > > > > > -- > Uri Laserson > PhD Candidate, Biomedical Engineering > Harvard Medical School (Genetics) > Massachusetts Institute of Technology (Mathematics) > phone +1 917 742 8019 > > > las...@mi... > > > -----Inline Attachment Follows----- > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day > trial. Simplify your report design, integration and > deployment - and focus on > what you do best, core application coding. Discover what's > new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > -----Inline Attachment Follows----- > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
Hi, list I want to transtate NavagationToolbar tooltips in Russian and Ukrainian. Now I can do this only with creating custom toolbar (via subclassing) in code. Is there another way to do this? Maybe, there is any plans to add i18n support to some parts of matplotlib? Thanks, Alexander Bruy -- реклама ----------------------------------------------------------- Поторопись зарегистрировать самый короткий почтовый адрес @i.ua http://mail.i.ua/reg - и получи 1Gb для хранения писем