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
(9) |
2
(8) |
3
|
4
(6) |
5
|
6
|
7
(41) |
8
(18) |
9
(25) |
10
(18) |
11
(10) |
12
(13) |
13
(7) |
14
(4) |
15
(12) |
16
(6) |
17
(9) |
18
(7) |
19
(2) |
20
(5) |
21
(7) |
22
(2) |
23
(11) |
24
(11) |
25
(14) |
26
(3) |
27
(3) |
28
(17) |
29
(7) |
30
(16) |
31
(8) |
|
|
On Wed, 2 Mar 2011 22:01:02 +0900 Jae-Joon Lee <lee...@gm...> wrote: > >> > Is this a bug? > >> > >> Unfortunately, bbox_inches option is never meant to be complete in > >> figuring out the exact size of the figure area. > > > > Why not? What's the purpose of bbox_inches='tight' otherwise? > > Figuring out enclosing bbox when arbitrary spline paths are involved > is difficult (I think there is no exact solution). So I only intended > to support common cases. Ok, I can understand that, but shouldn't all artists used to construct the picture, as suptitle, be considered? > >> However, you can use "bbox_extra_artists" keyword argument to specify > >> additional artists that should be considered when dertermining the > >> plot size. > >> > >> mytitle = fig.suptitle("Horray!", fontsize=20) > >> > >> ... > >> > >> fig.savefig("out.png", bbox_inches='tight', bbox_extra_artists=[mytitle]) > > > > That doesn't work for me either. > > Can you be more specific? Does it throw an exception? Or the code runs > without any error but the output is still wrong? No error/exception are produced. The output is simply identical to the one without bbox_extra_artists. This also works in my previous example: import matplotlib as mpl import matplotlib.figure import matplotlib.backends.backend_agg fig = mpl.figure.Figure() cvs = mpl.backends.backend_agg.FigureCanvasAgg(fig) fig.set_size_inches((20,20)) plot = fig.add_subplot(111) plot.set_title("Subtitle") plot.plot([1,2,3], [3,2,1]) st = fig.suptitle("Horray!", fontsize=20) fig.savefig("out.png", bbox_inches='tight', bbox_extra_artists=[st])
On Tue, 1 Mar 2011 12:44:20 +0900 Jae-Joon Lee <lee...@gm...> wrote: > > Is this a bug? > > Unfortunately, bbox_inches option is never meant to be complete in > figuring out the exact size of the figure area. Why not? What's the purpose of bbox_inches='tight' otherwise? > However, you can use "bbox_extra_artists" keyword argument to specify > additional artists that should be considered when dertermining the > plot size. > > mytitle = fig.suptitle("Horray!", fontsize=20) > > ... > > fig.savefig("out.png", bbox_inches='tight', bbox_extra_artists=[mytitle]) That doesn't work for me either.
Hi, have you tried to print the EPS without putting it into a DOC? Is there a specific reason for why you don't use an PNG for that task? Can Word print EPS at all? Best, Daniel 2011年3月1日 Zhaoru Zhang <zha...@gm...>: > Hi, > > I created an eps figure file with matplotlib. I can look at it via mac preview, but when I inserted it into a word document and printed it out, I got nothing except for the eps file information. So what's the problem? Here are all the packages I used in the python code. Does any of them impact the creation of the eps file? Thanks. > > import numpy as np > import sys > import matplotlib.pyplot as plt > from mpl_toolkits.basemap import Basemap > from get_fbin import get_fbin > from matplotlib import mathtext > from matplotlib import rc > from matplotlib.font_manager import FontProperties > rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']}) > rc('text', usetex=True) > > and I saved the code in this way: > > fig.savefig('pfg1.eps')
On Tuesday, March 1, 2011, Zhaoru Zhang <zha...@gm...> wrote: > Hi, > > I created an eps figure file with matplotlib. I can look at it via mac preview, but when I inserted it into a word document and printed it out, I got nothing except for the eps file information. So what's the problem? Here are all the packages I used in the python code. Does any of them impact the creation of the eps file? Thanks. > > import numpy as np > import sys > import matplotlib.pyplot as plt > from mpl_toolkits.basemap import Basemap > from get_fbin import get_fbin > from matplotlib import mathtext > from matplotlib import rc > from matplotlib.font_manager import FontProperties > rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']}) > rc('text', usetex=True) > > and I saved the code in this way: > > fig.savefig('pfg1.eps') > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > I have personally have had problems with eps files in MS PowerPoint, even from matplotlib. I don't know if it was the files or PowerPoint. Try outputting to PDF format and see if that works better. Ben Root
I tried building the standalone html docs using: cd doc python make.py html I notice that there are around 30 .pyc files left in the build/html/pyplots/ directory. Are these needed in the html documentation build directory? Also, it seems that the files in _images are redundant, as they are referenced in their original directory, not _images. from the build/html directory: % find . -name multiline.pdf ./_images/multiline.pdf ./plot_directive/mpl_examples/pylab_examples/multiline.pdf % grep -ri "multiline.pdf" * examples/pylab_examples/multiline.html:<p>[<a class="reference external" href="../../plot_directive/mpl_examples/pylab_examples/multiline.py">source code</a>, <a class="reference external" href="../../plot_directive/mpl_examples/pylab_examples/multiline.hires.png">hires.png</a>, <a class="reference external" href="../../plot_directive/mpl_examples/pylab_examples/multiline.pdf">pdf</a>]</p> Any comments about trimming down the size of the build/html directory? Thanks, Jason
Hey guys, I think I found the answer to my question: No, it is not possible to have a contour along the grid of a pcolor plot out of the box, because the contour would take the shortest path between neighbouring same-value-points in a dataset. Pcolor merely changes the representation of these data. What I would probably need is using the pcolor plot as an underlying dataset for a contour plot. If that works I don't know. To give some background: The data in the attached pdf are not be interpolated because this would give the fake impression of a continuous parameter space. This is why I don't want any diagonal lines cutting through the little boxes in the pcolor plot. So, if there was a workaround, I would be happy if somebody could point me to it! Cheers, Sebastian S3b4st1an wrote: > > Hello everyone, > > I've got a contour plot on a pcolor plot: > > http://old.nabble.com/file/p31038837/m3921-csv-RMSfinalSlip-pleft.pdf > m3921-csv-RMSfinalSlip-pleft.pdf > > I would like to have the contours (the 2 black lines) go along the grid > without any diagonal lines. Is that possible? And if so, could somebody > please tell me, how? > > Cheers, Sebastian > -- View this message in context: http://old.nabble.com/contour-plot-without-smoothing-tp31038837p31046299.html Sent from the matplotlib - users mailing list archive at Nabble.com.
March EPD Webinar: How do I...solve ODEs? Part II This Friday, Warren Weckesser will present a second installment of his webinars on differential equations. We will explore two Python packages for solving boundary value problems. Both are packaged as scikits: scikits.bvp_solver, written by John Salvatier, is a wrapper of the BVP_SOLVER code by Shampine and Muir; scikits.bvp1lg, written by Pauli Virtanen, is a wrapper of the COLNEW solver developed by Ascher and Bader. Enthought Python Distribution Webinar How do I... solve ODEs? Part II Friday, March 4: 1pm CST/7pm UTC Wait list (for non EPD subscribers): send an email to am...@en... Thanks! _________________________ Amenity Applewhite Enthought, Inc. <http://www.enthought.com> Scientific Computing Solutions
Andrea Crotti, on 2011年03月01日 10:29, wrote: > Gökhan Sever <gok...@gm...> writes: > > You can try: > > > > fig, ax = plt.subplots(1,1) > > ax.plot(range(10)) > > fig.subplots_adjust(left=0.05, right=0.95, bottom=0.05, top=0.95) > > > > Uhm strange, with the version of matplotlib that I have know I have > subplots_adjust, but I don't have plt.subplots, was it added later? > Well I can also leave my very convoluted way for now, I'll see later > what to do... plt.subplots was added somewhat recently - in this instance it's equivalent to : fig = plt.figure() ax = plt.subplot(1,1,1) Andrea Crotti, on 2011年03月01日 12:58, wrote: > Paul Ivanov <piv...@gm...> writes: > > You can do this with: > > > > ax = plt.subplot(111) > > ax.plot(range(10)) > > ax.set_ymargin(.2) > > ax.set_xmargin(.1) > > # or ax.margins(.1,.2) > > ax.autoscale() > > plt.draw() > > > > see also the docstring for ax.autoscale_view for more. > > Uhm also autoscale and set_xmargin are not implemented in my version of > matplotlib, too bad I'll just keep my hack for now... Ok, these were added within the past year as well. I think you should have an older version of ax.autoscale_view which does something similar - but it's effectively what you have done in your original example (though I'm not sure why you want cast everything as an int there, perhaps that's just what makes sense for the data you have). you can see the current code here, if you're curious: https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/axes.py#L1774 best, -- Paul Ivanov 314 address only used for lists, off-list direct email at: http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7
Hi, I created an eps figure file with matplotlib. I can look at it via mac preview, but when I inserted it into a word document and printed it out, I got nothing except for the eps file information. So what's the problem? Here are all the packages I used in the python code. Does any of them impact the creation of the eps file? Thanks. import numpy as np import sys import matplotlib.pyplot as plt from mpl_toolkits.basemap import Basemap from get_fbin import get_fbin from matplotlib import mathtext from matplotlib import rc from matplotlib.font_manager import FontProperties rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']}) rc('text', usetex=True) and I saved the code in this way: fig.savefig('pfg1.eps')
Some time ago I tried to install matplotlib using zc.buildout, to make sure I always had the same version everywhere and so on. Even if numpy was installed it was not found, and someone told me to modify the setup.py of matplotlib. But since I think it should work out of the box I think I'm doing something wrong OR there is a bug. It should be a known issue but I didn't find much about, if necessary I can try again and paste the output... Thanks, Andrea
Paul Ivanov <piv...@gm...> writes: > > Hi Andrea, > > I think Gökhan is pointing out a different feature than the one > you want. You seem to want to adjust the x and y limits of the > plot to be some fraction larger than the data that's plotted. > > You can do this with: > > ax = plt.subplot(111) > ax.plot(range(10)) > ax.set_ymargin(.2) > ax.set_xmargin(.1) > # or ax.margins(.1,.2) > ax.autoscale() > plt.draw() > > see also the docstring for ax.autoscale_view for more. > > best, Uhm also autoscale and set_xmargin are not implemented in my version of matplotlib, too bad I'll just keep my hack for now...
Gökhan Sever <gok...@gm...> writes: > Hi, > > You can try: > > fig, ax = plt.subplots(1,1) > ax.plot(range(10)) > fig.subplots_adjust(left=0.05, right=0.95, bottom=0.05, top=0.95) > > If you choose WXAgg as your backend you get a nice config tool to adjust > spacing in the figure. Then just pass those numbers into .subplots_adjust > method once you are satisfied. Uhm strange, with the version of matplotlib that I have know I have subplots_adjust, but I don't have plt.subplots, was it added later? Well I can also leave my very convoluted way for now, I'll see later what to do...
Hello everyone, I've got a contour plot on a pcolor plot: http://old.nabble.com/file/p31038837/m3921-csv-RMSfinalSlip-pleft.pdf m3921-csv-RMSfinalSlip-pleft.pdf I would like to have the contours (the 2 black lines) go along the grid without any diagonal lines. Is that possible? And if so, could somebody please tell me, how? Cheers, Sebastian -- View this message in context: http://old.nabble.com/contour-plot-without-smoothing-tp31038837p31038837.html Sent from the matplotlib - users mailing list archive at Nabble.com.
On Fri, Feb 25, 2011 at 9:15 PM, Yuri D'Elia <wa...@us...> wrote: > In the following: > > <<<<<<<<<<< > import matplotlib as mpl > import matplotlib.figure > import matplotlib.backends.backend_agg > > fig = mpl.figure.Figure() > cvs = mpl.backends.backend_agg.FigureCanvasAgg(fig) > fig.set_size_inches((20,20)) > fig.suptitle("Horray!", fontsize=20) > plot = fig.add_subplot(111) > plot.set_title("Subtitle") > plot.plot([1,2,3], [3,2,1]) > fig.savefig("out.png", bbox_inches='tight') >>>>>>>>>>>> > > suptitle is stripped from the figure. > Of course the title is present if you unset bbox_inches, but that's unexpected behavior for me. > > Is this a bug? Unfortunately, bbox_inches option is never meant to be complete in figuring out the exact size of the figure area. However, you can use "bbox_extra_artists" keyword argument to specify additional artists that should be considered when dertermining the plot size. mytitle = fig.suptitle("Horray!", fontsize=20) ... fig.savefig("out.png", bbox_inches='tight', bbox_extra_artists=[mytitle]) Regards, -JJ > > Thanks > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
You may use "ngrids" keyword parameter. i.e.,., nrows_ncols=(3,2), ngrids=5 Regards, -JJ On Tue, Mar 1, 2011 at 1:40 AM, Boyle, Jim <bo...@ll...> wrote: > I am using AxesGrid (from mpl_toolkits.axes_grid1 import AxesGrid) to generate multi-panel plots. > It does very well except I have a problem with a blank subplot. > I have 5 plots to display and the geometry of nrows_ncols=(3,2) produces the plot that I want > except there is a frame placed in the last position - for which I did not call a plot. > > I cannot figure out an elegant way to supress this frame. The kludge I use now is to just set the > edgecolor of the last grid subplot to the background and so it is not visible. > > All the examples have an even number of subplot figures so the grid is filled and this situation does not occur. > > --Jim > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >