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
(10) |
2
(10) |
3
(9) |
4
(3) |
|
5
(2) |
6
(6) |
7
(12) |
8
(21) |
9
(4) |
10
(19) |
11
(7) |
|
12
(2) |
13
(28) |
14
(13) |
15
(27) |
16
(17) |
17
(21) |
18
(22) |
|
19
(3) |
20
(25) |
21
(17) |
22
(16) |
23
(28) |
24
(19) |
25
(4) |
|
26
(4) |
27
(23) |
28
(13) |
29
(15) |
30
(19) |
|
|
|
From: Tony S Yu <ts...@gm...> - 2010-09-03 19:14:12
|
On Sep 3, 2010, at 10:23 AM, Sébastien Barthélemy wrote: > CC to matplotlib-devel & matplotlib-users > > 2010/9/3 Tony S Yu <ts...@gm...>: >> On Sep 3, 2010, at 4:33 AM, Sébastien Barthélemy wrote: >> >>> Hello, >>> >>> While using sage [1], I got problems drawing a line: for some reason, >>> the points with negative coordinates are not plotted (or are plotted >>> on top of others due to an offset problem and thus I cannot see them). >>> I can only reproduce the bug with specific data sets. >>> >>> [1] www.sagemath.org >>> >>> I think I could track down the bug to matplotlib, which sage uses to >>> render 2d plots. >>> >>> I included a sage script which generates the data set (in a pickle >>> file), and a python script which draws the faulty line. >>> >>> Usage is : >>> >>> $ sage generate_data.sage >>> $ python test_mpl.py >>> >>> I also included the pickled data, thus you don't need sage at all. >>> I use matplotlib 1.0.0 for python 2.6 on mac os (as provided by macport). >>> >>> Could somebody here confirm the problem, and give me a hint about what >>> is going on? >> >> I can confirm the issue. > > Great, thank you. I filed a bug: > https://sourceforge.net/tracker/?func=detail&aid=3058804&group_id=80706&atid=560720 > >> This appears to be a drawing bug: when I pan the drawing so that the negative data touches the edge of the axes frame, the rest of the line is drawn. So the line object is being created, but for some reason it's not being drawn correctly. >> >> The bug is really finicky: if I plot starting from the 3rd value of your data (i.e. slice xdata, ydata with [2:]), the line is drawn completely. The strange thing is that the first 100 or so data points defines the exact same point, so there's noting special about those first two points. (but this overlaying of data may be related to the bug) >> >> I've reproduced the issue on TkAgg, Qt4Agg, and MacOSX backends, so maybe the bug is in backend_bases. (Note: unlike Agg backends, MacOSX backend doesn't show line even after panning the plot) >> >> I don't really know how to debug drawing errors like this; so this is as far as can get. I'm not sure if I should respond to this email or the bug report, but since I made the claim here, I'll correct myself here: The bug is not in the drawing code as I had suggested. The bug is related to path simplification. If you turn off path simplification (e.g. plt.rc('path', simplify=False), the line is drawn in its entirety. This also explains why the bug disappeared when I trimmed the first two points: path simplification is triggered from data sets with atleast 128 points (your data has 129, so trimming two points turned off path simplification). I just wanted to correct my earlier comments. -T |
|
From: Eric F. <ef...@ha...> - 2010-09-03 18:52:06
|
On 08/31/2010 01:08 AM, Jens Nie wrote: > Hi everyone. > I face a problem here, which I can’t seem to handle by myself, so any > help is really appreciated. > I would like to do a simple line plot of a huge dataset as an overview > to quickly compare success of different measurement scenarios, and it > seems that not every datapoint is displayed. I played a little with the > lod parameter, both for the creation of the axis and the plot command. > However timing the plot command and the display itself do not show > differences. Here are a few lines of code that help to reproduce the > problem. Jens, I'm confident this is the same bug as was reported more recently on the list and the tracker: https://sourceforge.net/tracker/index.php?func=detail&aid=3058804&group_id=80706&atid=560720 That report will make it easier to debug because it illustrates the problem with a relatively few points. Eric > import time > import matplotlib > matplotlib.use("Qt4Agg") > import matplotlib.pyplot as plt > import numpy as np > xData=np.linspace(0, 10.0, 1e6) > yData=np.zeros(xData.shape) > xDataDetail=np.linspace(0.0, 2*np.pi, 1000) > yDataDetail=np.exp(-xDataDetail)*np.sin(10.0*xDataDetail) > yData[100000:100000+len(yDataDetail)]=yDataDetail > fig=plt.figure() > axes=fig.add_subplot(111) > tic=time.time() > axes.plot(xData, yData, "b-") > toc=time.time() > axes.grid(True) > print "Plotting took %g s." % (toc-tic) > plt.show() > The code shows how I usually use the matplotlib environment and creates > a simple dataset of 1 million zeros with a short non trivial peak > within, that is to be plotted as a blue solid line. > You can see what happens, when you vary the width of the displaying > window. On my system usually the minimum amplitude varies when resizing > the window. > Is there any way to enforce plotting each and every point? > I use matplotlib version 1.0.0 on a 32 Bit windows XP system installed > via the windows installer from sf. > A quick check on a opensuse 11.3 linux box showed the same issue. Using > the “standard” TK backend instead of Qt4Agg behaves just the same. > Jens > > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Sébastien B. <bar...@cr...> - 2010-09-03 14:23:20
|
CC to matplotlib-devel & matplotlib-users 2010/9/3 Tony S Yu <ts...@gm...>: > On Sep 3, 2010, at 4:33 AM, Sébastien Barthélemy wrote: > >> Hello, >> >> While using sage [1], I got problems drawing a line: for some reason, >> the points with negative coordinates are not plotted (or are plotted >> on top of others due to an offset problem and thus I cannot see them). >> I can only reproduce the bug with specific data sets. >> >> [1] www.sagemath.org >> >> I think I could track down the bug to matplotlib, which sage uses to >> render 2d plots. >> >> I included a sage script which generates the data set (in a pickle >> file), and a python script which draws the faulty line. >> >> Usage is : >> >> $ sage generate_data.sage >> $ python test_mpl.py >> >> I also included the pickled data, thus you don't need sage at all. >> I use matplotlib 1.0.0 for python 2.6 on mac os (as provided by macport). >> >> Could somebody here confirm the problem, and give me a hint about what >> is going on? > > I can confirm the issue. Great, thank you. I filed a bug: https://sourceforge.net/tracker/?func=detail&aid=3058804&group_id=80706&atid=560720 > This appears to be a drawing bug: when I pan the drawing so that the negative data touches the edge of the axes frame, the rest of the line is drawn. So the line object is being created, but for some reason it's not being drawn correctly. > > The bug is really finicky: if I plot starting from the 3rd value of your data (i.e. slice xdata, ydata with [2:]), the line is drawn completely. The strange thing is that the first 100 or so data points defines the exact same point, so there's noting special about those first two points. (but this overlaying of data may be related to the bug) > > I've reproduced the issue on TkAgg, Qt4Agg, and MacOSX backends, so maybe the bug is in backend_bases. (Note: unlike Agg backends, MacOSX backend doesn't show line even after panning the plot) > > I don't really know how to debug drawing errors like this; so this is as far as can get. |
|
From: karianne <kar...@as...> - 2010-09-03 14:04:41
|
Hi,
I am plotting several different symbols using 3 different colours. The
colours indicate different data sets, whereas the symbols need not be
explained. I would therefore like each label to have a different colour,
i.e. each line in my legend should be written in a different colour
specified. The legend is getting too long if I have to indicate what each
symbol represents, plus it would be a repetition of the 3 data sets in
question. How can I change the colour of the text in the legend?
Second, how can I change the marker in the legend? I am plotting using
errorbar(), but the marker shows up as a dot, and I would like it to show up
as a '+', without having to change the actual dots in the plot.
Here is a snippet of my code:
import matplotlib as mpl
import matplotlib.pyplot as plt
fig = plt.figure(); ax = []
for k in range(1,4):
ax.append(fig.add_subplot(3,1,k))
for [data,col,leg] in
[[data1,'k','set1'],[data2,'r','set2'],[data3,'b','both']]:
ax[-1].errorbar(data[:,2],data[:,4],xerr=data[:,3],yerr=data[:,5],fmt='.',color=col,label=leg)
ax[-1].plot(x,y,'-',color=col,label=leg)
lgd=ax[-1].legend(loc='lower right')
#this is what I tried to change the symbols in the legend, but it
also changes the plot
#symbols and I would like to avoid that:
plt.setp(lgd.get_lines(), marker='+')
I have searched this forum, other forums, and google, without finding an
answer to my questions. If there is another post or webpage already dealing
with these problems I apologise for posting them here too and ask you to
please direct me to the right pages.
Cheers, Karianne
--
View this message in context: http://old.nabble.com/legend%3A-changing-the-text-colour-tp29614647p29614647.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
|
|
From: Tony S Yu <ts...@gm...> - 2010-09-03 13:13:13
|
On Sep 3, 2010, at 4:33 AM, Sébastien Barthélemy wrote: > Hello, > > While using sage [1], I got problems drawing a line: for some reason, > the points with negative coordinates are not plotted (or are plotted > on top of others due to an offset problem and thus I cannot see them). > I can only reproduce the bug with specific data sets. > > I think I could track down the bug to matplotlib, which sage uses to > render 2d plots. > > I included a sage script which generates the data set (in a pickle > file), and a python script which draws the faulty line. > > Usage is : > > $ sage generate_data.sage > $ python test_mpl.py > > I also included the pickled data, thus you don't need sage at all. > I use matplotlib 1.0.0 for python 2.6 on mac os (as provided by macport). > > Could somebody here confirm the problem, and give me a hint about what > is going on? I can confirm the issue. This appears to be a drawing bug: when I pan the drawing so that the negative data touches the edge of the axes frame, the rest of the line is drawn. So the line object is being created, but for some reason it's not being drawn correctly. The bug is really finicky: if I plot starting from the 3rd value of your data (i.e. slice xdata, ydata with [2:]), the line is drawn completely. The strange thing is that the first 100 or so data points defines the exact same point, so there's noting special about those first two points. (but this overlaying of data may be related to the bug) I've reproduced the issue on TkAgg, Qt4Agg, and MacOSX backends, so maybe the bug is in backend_bases. (Note: unlike Agg backends, MacOSX backend doesn't show line even after panning the plot) I don't really know how to debug drawing errors like this; so this is as far as can get. Best, -Tony > > Regards > Sebastien > > [1] www.sagemath.org > <generate_data.sage><test_mpl.py><traj_mod.pickle> |
|
From: Sébastien B. <bar...@cr...> - 2010-09-03 08:33:10
|
Hello, While using sage [1], I got problems drawing a line: for some reason, the points with negative coordinates are not plotted (or are plotted on top of others due to an offset problem and thus I cannot see them). I can only reproduce the bug with specific data sets. I think I could track down the bug to matplotlib, which sage uses to render 2d plots. I included a sage script which generates the data set (in a pickle file), and a python script which draws the faulty line. Usage is : $ sage generate_data.sage $ python test_mpl.py I also included the pickled data, thus you don't need sage at all. I use matplotlib 1.0.0 for python 2.6 on mac os (as provided by macport). Could somebody here confirm the problem, and give me a hint about what is going on? Regards Sebastien [1] www.sagemath.org |
|
From: Eric F. <ef...@ha...> - 2010-09-03 07:18:00
|
On 09/02/2010 07:47 PM, Noam Yorav-Raphael wrote: > Hello, > > I'm the developer of DreamPie, a new graphical Python shell (you can > check it out at http://dreampie.sourceforge.net ) > > I worked to make it work nicely with matplotlib -- it runs Tk/GTK/Qt > event loops when idle, so if matplotlib is in interactive mode it > works great. I even made DreamPie check if matplotlib in > non-interactive mode is present, and if so it shows you a message > suggesting that you switch to interactive mode. > > Lately I thought that it may be much easier for users if DreamPie > would just switch matplotlib to interactive mode automatically. > However, I'm not entirely comfortable with the idea of changing > settings silently. > > I wanted to ask: what do you think? Are there any cases when you want > to have matplotlib in non-interactive mode in a shell? At least with ipython, yes--the point of non-interactive mode is that the show() function blocks, so it can be used in scripts in which the user is supposed to see a plot, dismiss the window, see another plot, etc. Again, at least with ipython, one wants to be *able* to run scripts exactly as they would run from the command line. Whether this sort of thing matters for DreamPie depends on the intended uses and users. Eric > > Also, are there any other ways in which DreamPie can be made more > matplotlib-friendly? > > Thanks, > Noam > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Noam Yorav-R. <noa...@gm...> - 2010-09-03 05:47:47
|
Hello, I'm the developer of DreamPie, a new graphical Python shell (you can check it out at http://dreampie.sourceforge.net ) I worked to make it work nicely with matplotlib -- it runs Tk/GTK/Qt event loops when idle, so if matplotlib is in interactive mode it works great. I even made DreamPie check if matplotlib in non-interactive mode is present, and if so it shows you a message suggesting that you switch to interactive mode. Lately I thought that it may be much easier for users if DreamPie would just switch matplotlib to interactive mode automatically. However, I'm not entirely comfortable with the idea of changing settings silently. I wanted to ask: what do you think? Are there any cases when you want to have matplotlib in non-interactive mode in a shell? Also, are there any other ways in which DreamPie can be made more matplotlib-friendly? Thanks, Noam |
|
From: Myunghwa H. <mh...@gm...> - 2010-09-03 00:17:50
|
Hello, list! I am trying to create a Mac application package from python modules using matplotlib and wxpython. Before packaging, my code generated only a user warning of multiple calls on matplotlib.use method. When I tried to run the application after packaging with py2app, the application crashed with the following error message: .... app/Contents/Resources/lib/python2.6/matplotlib/backends/backend_wx.py line 1769 in _init_toolbar .. app/Contents/Resources/lib/python2.6/matplotlib/backends/backend_wx.py line 1609 in _load_bitmap .. app/Contents/Resources/lib/python2.6/wx/_gdi.py line 555 in __init__ .. PyAssertionError: C++ assertion "IsOpened()" failed at /BUILD/wxPython-src-2.8.11.0/src/common/ffile.cpp(175) in Seek(): can't seek on closed file Please let me know how I can solve this problem. Thanks in advance! from Myunghwa Hwang -- Myunghwa Hwang GeoDa Center School of Geographical Sciences and Urban Planning Arizona State University mh...@gm... or Myu...@as... |