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
(27) |
2
(15) |
3
(2) |
4
(4) |
5
(5) |
6
(9) |
7
(15) |
8
(24) |
9
(19) |
10
(7) |
11
(13) |
12
(26) |
13
(27) |
14
(17) |
15
(14) |
16
(12) |
17
(9) |
18
(12) |
19
(17) |
20
(19) |
21
(5) |
22
(5) |
23
(7) |
24
(4) |
25
(1) |
26
(9) |
27
(20) |
28
(5) |
29
(10) |
30
(12) |
31
(6) |
Am 01.03.2012 um 17:59 schrieb Jean-Baptiste Marquette <mar...@ia...>: > Dear Python gurus, > > I have written the attached script to plot data from SAMP interaction with TOPCAT (http://www.star.bris.ac.uk/~mbt/topcat/). > I select a row on a given table (VOtable format) in TOPCAT, got the message > > Selected : file:/Volumes/pepperland/erosdata/cc_all/tm_all.vot 18 > Plotting star tm5000k7768 > > All I obtain on screen is a blank rectangle window without borders and the rainbow wheel. I sampled the python process, file attached as well. > I updated PyQt4 using the latest Mac snapshot and the Qt 4.8 libraries. > > Any hint welcome, thanks. A hint. Not a solution. No guarantee. With Tkinter, a similar problem arises if Tkinter calls are made from another thread than those one which imported Tkinter. At least on OS X 10.6, the program will be unreliable, crashing after unpredictable time with similar symptoms to that you diagnosed. The Tkinter window will no longer update, even if Tkinter calls are made, and probably even if from the Tkinter importing thread. If one makes some inputs, iirc, the rainbow wheen appears. I am well aware of that this is isn't Tkinter. It's a guess, as I said, and meant as a pointer to the root which can lead, in Tkinter, but maybe also in PyQt, to such problems. A solution is to message the main thread via thread shared objects. The main thread needs to poll them then. With Tkinter this is relatively easy to implement, but I have no idea about what it would look like in PyQt. It might well be that all this here is utter nonsense and leads nowhere. But since noone else has emphatic suggestions I thought I spend my 2 Ct. Friedrich
Although this is quite an old post, one need to set the location again. e.g., lh._loc = 2 Regards, -JJ On Wed, Dec 14, 2011 at 12:09 AM, Warren Weckesser <war...@en...> wrote: > > > On Mon, Dec 12, 2011 at 7:05 PM, C Barrington-Leigh <cpb...@gm...> > wrote: >> >> Oops; I just posted this to comp.lang.python, but I wonder whether >> matplotlib questions are supposed to go to scipy-user? > > > > How about mat...@li...? I've cc'ed to that list. > > Warren > > >> >> Here it is: >> """ >> Before I upgraded to 2.7.2+ / 4 OCt 2011, the following code added a >> comment line to an axis legend using matplotlib / pylab. >> Now, the same code makes the legend appear "off-screen", ie way >> outside the axes limits. >> >> Can anyone help? And/or is there a new way to add a title and footer >> to the legend? >> >> Thanks! >> """ >> >> from pylab import * >> plot([0,0],[1,1],label='Ubuntu 11.10') >> lh=legend(fancybox=True,shadow=False) >> lh.get_frame().set_alpha(0.5) >> >> from matplotlib.offsetbox import TextArea, VPacker >> fontsize=lh.get_texts()[0].get_fontsize() >> legendcomment=TextArea('extra comments here', >> textprops=dict(size=fontsize)) >> show() >> # Looks fine here >> lh._legend_box = VPacker(pad=5, >> sep=0, >> children=[lh._legend_box,legendcomment], >> align="left") >> lh._legend_box.set_figure(gcf()) >> draw() >> >> >> _______________________________________________ >> SciPy-User mailing list >> Sci...@sc... >> http://mail.scipy.org/mailman/listinfo/scipy-user > > > > ------------------------------------------------------------------------------ > Systems Optimization Self Assessment > Improve efficiency and utilization of IT resources. Drive out cost and > improve service delivery. Take 5 minutes to use this Systems Optimization > Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
tight_layout only works for instances of Subplots. However, ax2, which is created by calling twinx, is an instance of Axes, and is not accounted by the tight_layout command.It may be possible to improve the situation, I doubt it would be easy as the association between ax1 and ax2 is not very explicit in the current implementation. One workaround is to use axes_grid1 toolkit (this works with current git master branch but not sure if it will work with v1.1). Try to replace ax1 = fig.add_subplot(1,1,1) with from mpl_toolkits.axes_grid1.parasite_axes import SubplotHost ax1 = SubplotHost(fig, 1, 1, 1) fig.add_subplot(ax1) -JJ On Thu, Dec 8, 2011 at 5:28 AM, Jérôme <je...@jo...> wrote: > Wed, 7 Dec 2011 20:29:22 +0100 > Jérôme a écrit: > >> Is there a way to automatically resize the axis and nicely center the whole >> set {axes + ticklabels + labels} in the figure ? >> >> One could use add_axes and play with the coordinates until he gets something >> nice, but it gets complicated to have it automatic as things depends on >> - the number of digits of y-axis ticklabels >> - whether or not a secundary y-axis is added on the right (using twinx) > > Hi again, sorry for multi-posting. > > Apparently, figure.tight_layout() does not take into account the secondary > y-axis on the right. > > Is this a known limitation ? (I don't see it on the caveats paragraph [1].) > > Or is this the use I make of it that is incorrect ? > > Example : > > -------------------------------------------------------------------------- > > import pylab > > fig = pylab.figure() > > data_1 = [0,1,2,3] > data_2 = [0,5,250,30000] > > lines = [] > > # Primary axis > ax1 = fig.add_subplot(1,1,1) > lines.extend (ax1.plot(data_1, 'b')) > > # Secondary axis > ax2 = pylab.twinx(ax1) > lines.extend (ax2.plot(data_2, 'g')) > > labels = ['Data 1', 'Data 2'] > > fig.tight_layout() > > pylab.show() > > > -------------------------------------------------------------------------- > > Thanks. > > [1] http://matplotlib.sourceforge.net/users/tight_layout_guide.html > > -- > Jérôme > > ------------------------------------------------------------------------------ > Cloud Services Checklist: Pricing and Packaging Optimization > This white paper is intended to serve as a reference, checklist and point of > discussion for anyone considering optimizing the pricing and packaging model > of a cloud services business. Read Now! > http://www.accelacomm.com/jaw/sfnl/114/51491232/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
I have cross posted this at Stackoverflow.com I installed `python 2.7.2` from `ActiveState` and then installed `matplotlib` from the sources. I getting errors when I tried a simple plotting procedure to test it. The error is similar to the one described here (http://code.google.com/p/cing/issues/detail?id=268) but it is for Macintosh. I work on a Linux machine and the info about machine is given below: % cat /etc/redhat-release CentOS release 4.6 (Final) % uname -a Linux scdbuild04 2.6.9-67.ELsmp #1 SMP Fri Nov 16 12:49:06 EST 2007 x86_64 x86_64 x86_64 GNU/Linux The error is produced by: % python ActivePython 2.7.2.5 (ActiveState Software Inc.) based on Python 2.7.2 (default, Jun 24 2011, 11:24:26) [GCC 4.0.2 20051125 (Red Hat 4.0.2-8)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import matplotlib.pylab as plt >>> plt.ion() >>> x = [1,2,3] >>> plt.plot(x) Exception in Tkinter callback Traceback (most recent call last): File "/a/b/python2.7.2/linux26_x86_64/lib/python2.7/lib-tk/Tkinter.py", line 1410, in __call__ return self.func(*args) File "/a/b/python2.7.2/linux26_x86_64/lib/python2.7/site-packages/matplotlib/backends/backend_tkagg.py", line 236, in resize self.show() File "/a/b/python2.7.2/linux26_x86_64/lib/python2.7/site-packages/matplotlib/backends/backend_tkagg.py", line 240, in draw tkagg.blit(self._tkphoto, self.renderer._renderer, colormode=2) File "/a/b/python2.7.2/linux26_x86_64/lib/python2.7/site-packages/matplotlib/backends/tkagg.py", line 19, in blit tk.call("PyAggImagePhoto", photoimage, id(aggimage), colormode, id(bbox_array)) TclError [<matplotlib.lines.Line2D object at 0x2a9da13310>] Can some one help me fix this error? Thanks Anand