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
(2) |
|
2
(4) |
3
(9) |
4
(12) |
5
(12) |
6
(7) |
7
(8) |
8
(4) |
|
9
(2) |
10
(9) |
11
(6) |
12
(1) |
13
(20) |
14
(13) |
15
(9) |
|
16
(3) |
17
(12) |
18
(16) |
19
(14) |
20
(12) |
21
(15) |
22
(11) |
|
23
(5) |
24
(7) |
25
(7) |
26
(8) |
27
(11) |
28
(10) |
29
(1) |
|
30
(3) |
31
(6) |
|
|
|
|
|
|
From: Eric O L. (EOL) <Eri...@no...> - 2011-10-18 20:53:20
|
The following boxplot raises a warning:
>>> boxplot([1], whis=float('inf'))
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/axes.py:5487:
RuntimeWarning: invalid value encountered in double_scalars
hi_val = q3 + whis*iq
I think that it would be nice if it did not, so that users know that things
are fine, in this case. :)
--
View this message in context: http://old.nabble.com/Error-with-boxplot%28%29-and-%22infinite%22-whiskers-tp32677142p32677142.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
|
|
From: Eric F. <ef...@ha...> - 2011-10-18 18:36:41
|
On 10/18/2011 06:19 AM, RuiDC wrote: > > As of 1.1.0, FigureCanvasQTAgg.draw() now no longer calls > FigureCanvasAgg.draw(), and as a result I am getting problems with code that > used to update positions/size of legend and labels during on_draw. > > 1. Is there a new way to get the canvas to draw? or is this a bug? I would say it is a bug that has been lurking undetected for 9 months. https://github.com/matplotlib/matplotlib/pull/539 I think this pull request fixes it. Eric > > The "what's new in 1.1.0" page, > http://matplotlib.sourceforge.net/users/whats_new.html refers to: > "An rcParam entry, “backend.qt4”, has been added to allow users to select > PyQt4, PyQt4v2, or PySide." > > 2. I cannot see any reference to PyQt4v2 in the code, and any attempt to set > the rcParam to use it results in a param validation error, is this a mistake > in the web page or omission in the code? > > Thanks in advance > RuiDC |
|
From: Zoltán V. <zv...@gm...> - 2011-10-18 18:03:45
|
Hi All,
I would like to ask how I can invoke the interactive option in a gtk
GUI. Basically, I have something like this
self.figure = Figure(figsize=(8,6), dpi=72)
self.axis = self.figure.add_subplot(111)
self.axis.plot(x,y)
which works, except that I have to explicitly call something like this
def refresh_plot(self):
self.canvas.draw_idle()
while gtk.events_pending():
gtk.main_iteration()
My question is, whether it is possible to set interactive(True) or ion()
in such a case, so that the plot would be displayed immediately. If that
is not the case, is it possible to figure out whether a graph has
changed since some point in time? If that is an option, then I could
just check for the state of the figure, and if necessary, call the
refresh_plot function.
Thanks,
v923z
|
|
From: Eric F. <ef...@ha...> - 2011-10-18 17:42:09
|
On 10/18/2011 06:19 AM, RuiDC wrote: > > As of 1.1.0, FigureCanvasQTAgg.draw() now no longer calls > FigureCanvasAgg.draw(), and as a result I am getting problems with code that > used to update positions/size of legend and labels during on_draw. > > 1. Is there a new way to get the canvas to draw? or is this a bug? The problem is that all drawing is now deferred until a paintEvent occurs. draw() is using the update() method to queue the request for a paintEvent, where all actual drawing is done, consistent with what I understand to be the recommended mode of operation for QT, but maybe not with the way mpl operates; it has the effect of making draw() work like draw_idle(). It looks like what I should do is move the call to FigureCanvasAgg.draw back into the FigureCanvasQTAgg.draw method. I'll give it a try. Eric > > The "what's new in 1.1.0" page, > http://matplotlib.sourceforge.net/users/whats_new.html refers to: > "An rcParam entry, “backend.qt4”, has been added to allow users to select > PyQt4, PyQt4v2, or PySide." > > 2. I cannot see any reference to PyQt4v2 in the code, and any attempt to set > the rcParam to use it results in a param validation error, is this a mistake > in the web page or omission in the code? > > Thanks in advance > RuiDC |
|
From: Benjamin R. <ben...@ou...> - 2011-10-18 17:07:29
|
On Tue, Oct 18, 2011 at 11:19 AM, RuiDC <ru...@ya...> wrote: > > > The "what's new in 1.1.0" page, > http://matplotlib.sourceforge.net/users/whats_new.html refers to: > "An rcParam entry, “backend.qt4”, has been added to allow users to select > PyQt4, PyQt4v2, or PySide." > > 2. I cannot see any reference to PyQt4v2 in the code, and any attempt to > set > the rcParam to use it results in a param validation error, is this a > mistake > in the web page or omission in the code? > > RuiDC, I think that might have been a little unclear. You should only need to select 'PyQt4' or 'PySide'. If PyQt4 is selected, then (I think) the v2 is automatically tested for internally. Ben Root |
|
From: RuiDC <ru...@ya...> - 2011-10-18 16:20:06
|
As of 1.1.0, FigureCanvasQTAgg.draw() now no longer calls FigureCanvasAgg.draw(), and as a result I am getting problems with code that used to update positions/size of legend and labels during on_draw. 1. Is there a new way to get the canvas to draw? or is this a bug? The "what's new in 1.1.0" page, http://matplotlib.sourceforge.net/users/whats_new.html refers to: "An rcParam entry, “backend.qt4”, has been added to allow users to select PyQt4, PyQt4v2, or PySide." 2. I cannot see any reference to PyQt4v2 in the code, and any attempt to set the rcParam to use it results in a param validation error, is this a mistake in the web page or omission in the code? Thanks in advance RuiDC -- View this message in context: http://old.nabble.com/QT-draw-issue-in-1.1.0-and-PyQt4v2-missing--tp32676093p32676093.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Ryan N. <rne...@gm...> - 2011-10-18 15:22:43
|
As far as I know, the 'arrow' function is not recommended. The 'annotate'
function has a lot more features. Here's your code with the annotate
function:
import pylab
from scipy import optimize
import numpy
x1=numpy.arange(-4000,1000,0.1)
x2=numpy.arange(-1000,4000,0.1)
y1=100*numpy.square(x1+1500)
y2=100*numpy.square(x2-1500)-0.1e9
pylab.figure()
pylab.plot(x1,y1,x2,y2)
pylab.grid(True)
pylab.annotate('',(-3000,0),(-3000,-100000000),
arrowprops=dict(arrowstyle='<->'))
pylab.xlim(-5000,5000)
pylab.ylim(-2e8,7e8)
pylab.show()
Hope that helps a little.
Ryan
On Mon, Oct 17, 2011 at 12:02 PM, Piter_ <x....@gm...> wrote:
> Hi all
> I want to draw an two headed arrow between two points.
> But I get a line. What I am doing wrong? I actually try to plot an
> image similar to this one:
>
> http://upload.wikimedia.org/wikipedia/commons/a/a3/Parameters_of_the_Marcus_Equation.JPG
> may be I can use an annotate function for this.
> Thanks for help.
> Petro.
> ########
> import pylab
> from scipy import optimize
> import numpy
> x1=numpy.arange(-4000,1000,0.1)
> x2=numpy.arange(-1000,4000,0.1)
> y1=100*numpy.square(x1+1500)
> y2=100*numpy.square(x2-1500)-0.1e9
> pylab.figure()
> pylab.plot(x1,y1,x2,y2)
> pylab.grid("True")
> pylab.arrow(-3000,0,0,-100000000,width=1)
> pylab.xlim(-5000,5000)
> pylab.ylim(-2e8,7e8)
> pylab.show()
> ###########x
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2d-oct
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
|
|
From: Martin H. <hof...@gm...> - 2011-10-18 11:16:41
|
Thank you for the tip. I actually had played around with matplotlib.rcdefaults() before, but that didn't work. I tried now the using exactly the clear_state function you suggested. Since it still didn't work, I finally found out that I had a very similar problem with another module from which I determine axes, figure size and other things. So, thank you very much, that helped me a lot and now things work the way I want! On Die 18 Okt 2011 04:45:27 CEST, John Hunter wrote: > On Mon, Oct 17, 2011 at 2:57 PM, tinux <hof...@gm...> wrote: >> >> I have around 100 python files, that each create one figure using matplotlib. >> Since I want to use all CPU cores, I basically did "for filename in files: >> execfile(filename)" using a python script. However, this does not produce >> the same output as running each file separately (for instance axes, figure >> size are sometime wrong). >> I _think_ I narrowed it down to this: In all files I need to do >> "matplotlib.rcParams(update)". I guess that this influences the matplotlib >> rc parameters and thus somehow values from some figures are used for others. >> >> So, my question is, how can I do something like >> "matplotlib.rcParams(update)" so that it does not influence other scripts >> that are run in parallel using 'execfile'? Or, how do I set rc parameters >> for one specific script? >> >> BTW, I tried 'pp' and 'multiprocessing', same problem with both. > > The problem is that the rc params are module level in matplotlib so in > a persistent process like ipython if one script modifies the rc > params, subsequent files executed in the same process will be > affected. You can restore the rc params to their default state by > doing before each call to execfile > > import matplotlib > matplotlib.rc_file_defaults() > > > We face the same issue in the "plot_directive" which we use when > building the matplotlib documentation. We define a function > "clear_state" in > > https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/sphinxext/plot_directive.py#L484 > > which closes all open figures, restore the rc defaults, and the > updates the defaults to an rc dictionary of the parameters we want for > each run. |
|
From: Chao Y. <cha...@gm...> - 2011-10-18 08:52:27
|
two lines:
ax.set_xlim(min(ax.get_xlim()+ax.get_ylim()),max(ax.get_xlim()+ax.get_ylim()))
ax.set_ylim(ax.get_xlim())
chao
2011/10/18 Chao YUE <cha...@gm...>
> Dear all,
>
> I am making a 1:1 ratio plot to compare data.
> I can write a small part of code to detect which range of the x or y axis
> is bigger and then adjust the axis of shorter range to have the same range
> with the longer one.
> and use set_aspect('equal') method to have the same tick interval on both
> axises.
> but is there an automatic method to do this job?
>
> Thanks,
>
> Chao
>
> --
>
> ***********************************************************************************
> Chao YUE
> Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
> UMR 1572 CEA-CNRS-UVSQ
> Batiment 712 - Pe 119
> 91191 GIF Sur YVETTE Cedex
> Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
>
> ************************************************************************************
>
>
--
***********************************************************************************
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
************************************************************************************
|
|
From: Chao Y. <cha...@gm...> - 2011-10-18 08:35:38
|
Dear all,
I am making a 1:1 ratio plot to compare data.
I can write a small part of code to detect which range of the x or y axis is
bigger and then adjust the axis of shorter range to have the same range with
the longer one.
and use set_aspect('equal') method to have the same tick interval on both
axises.
but is there an automatic method to do this job?
Thanks,
Chao
--
***********************************************************************************
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
************************************************************************************
|
|
From: Benjamin R. <ben...@ou...> - 2011-10-18 03:52:09
|
On Mon, Oct 17, 2011 at 10:42 PM, pratik <pra...@gm...> wrote: > Is there a function that can draw an ellipsoid like matlab's ellipsoid > function? > relevant: > > http://stackoverflow.com/questions/2153768/draw-ellipse-and-ellipsoid-in-matlab > > Thanks, > > from matplotlib.patches import Ellipse import matplotlib.pyplot as plt x = 0.5 y = 0.5 a = 4 b = 1 theta = 45.0 ell = Ellipse((x, y), a, b, theta) ax = plt.gca() ax.add_artist(ell) plt.show() There are some additional kwargs to the Ellipse constructor that allows you to control color and such. I hope that helps! Ben Root |
|
From: pratik <pra...@gm...> - 2011-10-18 03:41:32
|
Is there a function that can draw an ellipsoid like matlab's ellipsoid function? relevant: http://stackoverflow.com/questions/2153768/draw-ellipse-and-ellipsoid-in-matlab Thanks, |
|
From: John H. <jd...@gm...> - 2011-10-18 02:45:53
|
On Mon, Oct 17, 2011 at 2:57 PM, tinux <hof...@gm...> wrote:
>
> I have around 100 python files, that each create one figure using matplotlib.
> Since I want to use all CPU cores, I basically did "for filename in files:
> execfile(filename)" using a python script. However, this does not produce
> the same output as running each file separately (for instance axes, figure
> size are sometime wrong).
> I _think_ I narrowed it down to this: In all files I need to do
> "matplotlib.rcParams(update)". I guess that this influences the matplotlib
> rc parameters and thus somehow values from some figures are used for others.
>
> So, my question is, how can I do something like
> "matplotlib.rcParams(update)" so that it does not influence other scripts
> that are run in parallel using 'execfile'? Or, how do I set rc parameters
> for one specific script?
>
> BTW, I tried 'pp' and 'multiprocessing', same problem with both.
The problem is that the rc params are module level in matplotlib so in
a persistent process like ipython if one script modifies the rc
params, subsequent files executed in the same process will be
affected. You can restore the rc params to their default state by
doing before each call to execfile
import matplotlib
matplotlib.rc_file_defaults()
We face the same issue in the "plot_directive" which we use when
building the matplotlib documentation. We define a function
"clear_state" in
https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/sphinxext/plot_directive.py#L484
which closes all open figures, restore the rc defaults, and the
updates the defaults to an rc dictionary of the parameters we want for
each run.
|
|
From: John H. <jd...@gm...> - 2011-10-18 02:33:33
|
On Mon, Oct 17, 2011 at 6:58 PM, Floyd John <Joh...@en...> wrote: > Hello, > > I have read your instruction for bug reporting but this is fairly simple. > > There is a call to self.get_cpp_triangulation() which exists but there is also a call to self._get_cpp_triangulation at line 174 to obtain the neighbours. > > Easy to fix. Thanks for the report. Even easy issues are best reported on the issue tracker so they will be less likely to fall between the cracks, we can tag them and assign developers to them, etc. I've opened https://github.com/matplotlib/matplotlib/issues/535 JDH |
|
From: Jae-Joon L. <lee...@gm...> - 2011-10-18 01:58:25
|
Somehow, Figure.legend flattens the given handle list and this is the cause of the problem. https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/figure.py#L994 Does anyone know why this is necessary? I just filed a pull request to remove this. https://github.com/matplotlib/matplotlib/pull/534/files Meanwhile, you may do from matplotlib.legend import Legend l = Legend(fig, h, l, loc='lower right') fig.legends.append(l) This should be equivalent to fig.legend(h,l,loc='lower right'). Or, if you don't need axes legend, you may do legend(h,l,loc='lower right', bbox_to_anchor=[0,0,1,1], bbox_transform=fig.transFigure) Regards, -JJ On Tue, Oct 18, 2011 at 6:59 AM, Sterling Smith <sm...@fu...> wrote: > Let me first say that I appreciate the work that the developers have put into matplotlib. You're doing a great job. > > I have filed a bug report at > > https://github.com/matplotlib/matplotlib/issues/533 > > wherein I post the following > > Consider: > > from pylab import * > x = arange(0,1,.01) > y = x**2 > fig = figure(2) > ax = fig.add_subplot(111) > errorbar(x,y,yerr=x/10.,label='$x^2$') > errorbar(x,y**3,yerr=x/10.,label='$x^6$') > legend(loc='upper center') > h,l = ax.get_legend_handles_labels() > fig.legend(h,l,loc='lower right') > > > I am getting the right legend for the axes based legend, but the figure based legend seems to be using the different parts of the errorbar for subsequent handles, instead of using them as a group. From what I can tell, this has appeared since the upgrade to version 1.1.0. > > I am running on Linux, python 2.7, gtkAgg backend. > > Thanks, > Sterling > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Floyd J. <Joh...@en...> - 2011-10-18 00:34:11
|
Hello, I have read your instruction for bug reporting but this is fairly simple. There is a call to self.get_cpp_triangulation() which exists but there is also a call to self._get_cpp_triangulation at line 174 to obtain the neighbours. Easy to fix. Regards John ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- This email is intended for the addressee(s) named and may contain confidential and/or privileged information. If you are not the intended recipient, please notify the sender and then delete it immediately. Any views expressed in this email are those of the individual sender except where the sender expressly and with authority states them to be the views of the Office of Environment and Heritage, NSW Department of Premier and Cabinet. PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL |