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
(8) |
4
(6) |
5
(10) |
6
(1) |
7
(3) |
8
|
9
(5) |
10
(4) |
11
(9) |
12
(6) |
13
(12) |
14
(3) |
15
(2) |
16
(13) |
17
(7) |
18
(14) |
19
(7) |
20
(3) |
21
(1) |
22
|
23
(8) |
24
(6) |
25
(3) |
26
(5) |
27
(10) |
28
(5) |
29
(1) |
30
(7) |
|
|
|
|
|
From: Abhishek P. <ap...@lb...> - 2012-04-17 07:06:35
|
Hi Guys I am starting to render plots with matplotlib as I learn both python and this interesting plotting library. I need help with a custom plot for a problem I am working on. May be there is an inbuilt function already. Problem: I am trying to draw a table(rectangle) as a plot with 96 individual cells ( 8 rows X 12 cols). Color each alternative cell with a specific color ( like a chess board : instead of black I will use some other color) and insert value for each cell from a pandas data frame or python dictionary. Show the col and row labels on the side. Sample Data: http://pastebin.com/N4A7gWuH Appreciate your input. Thanks! -Abhi |
From: Alexander W. <ale...@go...> - 2012-04-17 04:56:57
|
Thanks, Mike, everything primed looks nice again. Best wishes, Alex On 17/04/12 7:53 AM, Michael Droettboom wrote: > This bug was introduced in PR #54. That tried to fix the behavior of > the apostrophe character, but inadvertently made primes smaller as > well. The fix is revert prime to its old size, but make the > apostrophe equivalent to "^\prime". > > Are you able to test the following pull request and ensure that it > resolves your issues? > > https://github.com/matplotlib/matplotlib/pull/836 > > Mike > > On 04/16/2012 10:13 AM, Alexander Wagner wrote: >> ps. my math-related rcParams are just the defaults, i think >> >> mathtext.cal : cursive >> mathtext.rm : serif >> mathtext.tt : monospace >> mathtext.it : serif:italic >> mathtext.bf : serif:bold >> mathtext.sf : sans >> mathtext.fontset : cm >> mathtext.fallback_to_cm : True >> mathtext.default : it >> >> >> On 16/04/12 10:50 PM, Michael Droettboom wrote: >>> What is the math string you are using? I can't seem to reproduce >>> this with: >>> >>> "$D_{40}\prime\prime$" >>> >>> What are your math-related rcParams? >>> >>> Mike >>> >>> On 04/15/2012 08:53 PM, Alexander Wagner wrote: >>>> Dear Matplotlib users, >>>> >>>> Mathtext primed used to be rendered correctly in 1.0.0 like so >>>> >>>> >>>> >>>> But now they look tiny and badly spaced in 1.1.0 like so >>>> >>>> >>>> >>>> I haven't tried with all fonts, but it is the case with Bitstream >>>> Vera Sans and Helvetica. Can anyone confirm? >>>> >>>> If I use the LaTeX renderer, it looks correct. >>>> >>>> Many thanks, >>>> Alex >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> For Developers, A Lot Can Happen In A Second. >>>> Boundary is the first to Know...and Tell You. >>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >>>> http://p.sf.net/sfu/Boundary-d2dvs2 >>>> >>>> >>>> _______________________________________________ >>>> Matplotlib-users mailing list >>>> Mat...@li... >>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> For Developers, A Lot Can Happen In A Second. >>> Boundary is the first to Know...and Tell You. >>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >>> http://p.sf.net/sfu/Boundary-d2dvs2 >>> >>> >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> >> >> ------------------------------------------------------------------------------ >> For Developers, A Lot Can Happen In A Second. >> Boundary is the first to Know...and Tell You. >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> http://p.sf.net/sfu/Boundary-d2dvs2 >> >> >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
From: Michael D. <md...@st...> - 2012-04-16 22:53:51
|
This bug was introduced in PR #54. That tried to fix the behavior of the apostrophe character, but inadvertently made primes smaller as well. The fix is revert prime to its old size, but make the apostrophe equivalent to "^\prime". Are you able to test the following pull request and ensure that it resolves your issues? https://github.com/matplotlib/matplotlib/pull/836 Mike On 04/16/2012 10:13 AM, Alexander Wagner wrote: > ps. my math-related rcParams are just the defaults, i think > > mathtext.cal : cursive > mathtext.rm : serif > mathtext.tt : monospace > mathtext.it : serif:italic > mathtext.bf : serif:bold > mathtext.sf : sans > mathtext.fontset : cm > mathtext.fallback_to_cm : True > mathtext.default : it > > > On 16/04/12 10:50 PM, Michael Droettboom wrote: >> What is the math string you are using? I can't seem to reproduce >> this with: >> >> "$D_{40}\prime\prime$" >> >> What are your math-related rcParams? >> >> Mike >> >> On 04/15/2012 08:53 PM, Alexander Wagner wrote: >>> Dear Matplotlib users, >>> >>> Mathtext primed used to be rendered correctly in 1.0.0 like so >>> >>> >>> >>> But now they look tiny and badly spaced in 1.1.0 like so >>> >>> >>> >>> I haven't tried with all fonts, but it is the case with Bitstream >>> Vera Sans and Helvetica. Can anyone confirm? >>> >>> If I use the LaTeX renderer, it looks correct. >>> >>> Many thanks, >>> Alex >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> For Developers, A Lot Can Happen In A Second. >>> Boundary is the first to Know...and Tell You. >>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >>> http://p.sf.net/sfu/Boundary-d2dvs2 >>> >>> >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> >> >> ------------------------------------------------------------------------------ >> For Developers, A Lot Can Happen In A Second. >> Boundary is the first to Know...and Tell You. >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> http://p.sf.net/sfu/Boundary-d2dvs2 >> >> >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
From: Damon M. <D.M...@wa...> - 2012-04-16 22:36:22
|
On Monday, 16 April 2012 at 16:34, Kacper Kowalik wrote: > > On 16 Apr 2012 22:31, "Damon McDougall" <D.M...@wa... (mailto:D.M...@wa...)> wrote: > > > > Hi Kacper, > > > > Just to be clear, is it tri.Triangulation(x, y) that hangs, or is it plt.tricontour(…)? > It's plt.tricontour that hangs, tri.Triangulation properly issues warning about duplicates. > Cheers, > Kacper > > On Monday, 16 April 2012 at 14:28, Kacper Kowalik wrote: > >> > >> Hi, > >> I haven't been able to pin point it exactly but following script: > >> > >> import matplotlib.pyplot as plt > >> import matplotlib.tri as tri > >> import numpy as np > >> from numpy.random import uniform, seed > >> > >> seed(0) > >> npts = 200 > >> x = uniform(-2,2,npts) > >> y = uniform(-2,2,npts) > >> z = x*np.exp(-x**2-y**2) > >> > >> y[1:3] = x[0] # 4 or more duplicate points make tricontour hang!!! > >> x[1:3] = y[0] You should call z = x*np.exp(-x**2-y**2) _before_ changing the points you're triangulating. Having said that, I see the same behaviour even if I change the vertices before I compute z. > >> triang = tri.Triangulation(x, y) > >> plt.tricontour(x, y, z, 15, linewidths=0.5, colors='k') > >> > >> plt.show() > >> > >> > >> causes infinite loop in _tri.so. It happens in matplotlib-1.1.0 as well > >> as git HEAD. > >> I understand that my input is not exactly valid, but I'd rather see MPL > >> die than occupy my box for eternity ;) > >> Best regards, > >> Kacper I think the reason it's hanging is because you're trying to plot the contours of a function that is defined on an invalid triangulation (edges cross at points that are not in the vertex set). I think the best way to deal with this is to write a helper function to check the triangulation is valid. If it isn't, either tri.Triangulation(x, y) should fail, or the plotter should fail. Anybody else have any suggestions? -- Damon McDougall d.m...@wa... (mailto:d.m...@wa...) http://damon.is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom |
From: Kacper K. <xar...@gm...> - 2012-04-16 20:34:44
|
On 16 Apr 2012 22:31, "Damon McDougall" <D.M...@wa...> wrote: > > Hi Kacper, > > Just to be clear, is it tri.Triangulation(x, y) that hangs, or is it plt.tricontour(…)? It's plt.tricontour that hangs, tri.Triangulation properly issues warning about duplicates. Cheers, Kacper > -- > Damon McDougall > d.m...@wa... > http://damon.is-a-geek.com > B2.39 > Mathematics Institute > University of Warwick > Coventry > West Midlands > CV4 7AL > United Kingdom > > On Monday, 16 April 2012 at 14:28, Kacper Kowalik wrote: >> >> Hi, >> I haven't been able to pin point it exactly but following script: >> >> import matplotlib.pyplot as plt >> import matplotlib.tri as tri >> import numpy as np >> from numpy.random import uniform, seed >> >> seed(0) >> npts = 200 >> x = uniform(-2,2,npts) >> y = uniform(-2,2,npts) >> z = x*np.exp(-x**2-y**2) >> >> y[1:3] = x[0] # 4 or more duplicate points make tricontour hang!!! >> x[1:3] = y[0] >> triang = tri.Triangulation(x, y) >> plt.tricontour(x, y, z, 15, linewidths=0.5, colors='k') >> >> plt.show() >> >> >> causes infinite loop in _tri.so. It happens in matplotlib-1.1.0 as well >> as git HEAD. >> I understand that my input is not exactly valid, but I'd rather see MPL >> die than occupy my box for eternity ;) >> Best regards, >> Kacper >> ------------------------------------------------------------------------------ >> For Developers, A Lot Can Happen In A Second. >> Boundary is the first to Know...and Tell You. >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> http://p.sf.net/sfu/Boundary-d2dvs2 >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
From: Damon M. <D.M...@wa...> - 2012-04-16 20:31:15
|
Hi Kacper, Just to be clear, is it tri.Triangulation(x, y) that hangs, or is it plt.tricontour(…)? -- Damon McDougall d.m...@wa... (mailto:d.m...@wa...) http://damon.is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom On Monday, 16 April 2012 at 14:28, Kacper Kowalik wrote: > Hi, > I haven't been able to pin point it exactly but following script: > > import matplotlib.pyplot as plt > import matplotlib.tri as tri > import numpy as np > from numpy.random import uniform, seed > > seed(0) > npts = 200 > x = uniform(-2,2,npts) > y = uniform(-2,2,npts) > z = x*np.exp(-x**2-y**2) > > y[1:3] = x[0] # 4 or more duplicate points make tricontour hang!!! > x[1:3] = y[0] > triang = tri.Triangulation(x, y) > plt.tricontour(x, y, z, 15, linewidths=0.5, colors='k') > > plt.show() > > > causes infinite loop in _tri.so. It happens in matplotlib-1.1.0 as well > as git HEAD. > I understand that my input is not exactly valid, but I'd rather see MPL > die than occupy my box for eternity ;) > Best regards, > Kacper > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... (mailto:Mat...@li...) > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
From: Kacper K. <xar...@gm...> - 2012-04-16 18:28:16
|
Hi, I haven't been able to pin point it exactly but following script: import matplotlib.pyplot as plt import matplotlib.tri as tri import numpy as np from numpy.random import uniform, seed seed(0) npts = 200 x = uniform(-2,2,npts) y = uniform(-2,2,npts) z = x*np.exp(-x**2-y**2) y[1:3] = x[0] # 4 or more duplicate points make tricontour hang!!! x[1:3] = y[0] triang = tri.Triangulation(x, y) plt.tricontour(x, y, z, 15, linewidths=0.5, colors='k') plt.show() causes infinite loop in _tri.so. It happens in matplotlib-1.1.0 as well as git HEAD. I understand that my input is not exactly valid, but I'd rather see MPL die than occupy my box for eternity ;) Best regards, Kacper |
From: Arnaldo R. <arn...@gm...> - 2012-04-16 16:06:30
|
Hi matplotlib users. Has anyone gave the first steps or finished a patch for this? I don't have enough knowledge to propose one, but I could try to help in any improvement or testing. Thank you, Arnaldo. --- *Arnaldo D'Amaral Pereira Granja Russo* Lab. de Estudos dos Oceanos e Clima Instituto de Oceanografia - FURG Jeff Whitaker <jswhit@...> writes: > > > On 1/2/11 9:17 PM, Linuxer Wang wrote: > > > Hi, Jeff > Sorry for the confusion. Yes, I mean to draw the black/white > border (called fancy box in m_map). Drawing the maps is really > easy to use, thanks for your great Api. Is there plan to support > the fancy border feature in near future? > > > No, but patches are welcome. > -Jeff > Thank you for replying. > On 01/02/2011 06:09 PM, Jeff Whitaker wrote: > > On 1/2/11 1:01 PM, Linuxer Wang wrote: > > This may be a question for Jeffrey Whitaker but welcome > anyone's help. > I used to use the m_map tool for matlab ( http://www.eos.ubc.ca/~rich/map.html). > > > > > Does anybody know how to draw the same maps in matplotlib > (BaseMap)? Specifically, how to draw axes in such figures: http://www.eos.ubc.ca/~rich/private/extblueocean.gif > or http://www.eos.ubc.ca/~rich/private/exmiller.gif > ? > Thanks a lot. > > Can you be more specific about what you need help with? Is it > drawing the map itself, or drawing the lines on the map? > examples/nytolondon.py shows how to draw great circles, which is > similar to the extblueocean.gif example. > If you are asking how to draw that black and white border around > the map, that is not supported. However, it is easy to draw > labelled meridians and parallels (with the drawparallels and > drawmeridians class methods). Docs are at http://matplotlib.sourceforge.net/basemap/doc/html/api/index.html, > and there are lots of examples in the 'examples' directory of > the source distribution. > HTH, > -Jeff > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > > _______________________________________________ > Matplotlib-users mailing list > Mat...@pu... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
From: Paul H. <pmh...@gm...> - 2012-04-16 15:49:50
|
On Mon, Apr 16, 2012 at 4:58 AM, Yannick Copin <yan...@la...> wrote: > Hi List, > > I think I found a bug in legend of a fill command (see attached code and > figure) when the facecolor is 'none' but the alpha is not None (I'm using > latest matplotlib 1.1.0). If confirmed, should I fill in a but report? I see identical behavior in Christoph Gohlke's Windows build of Matplotlib 1.2.X for Python 3.2. The same thing occurs if you remove the "alpha=None" altogether. -paul |
From: Damon M. <D.M...@wa...> - 2012-04-16 14:56:06
|
Hi, I have two arrays of coordinates in the x-y plane, z_1 and z_2. The array z_1 encloses a closed, convex and simply connected region (not a circle). The array z_2 encloses another object that is also closed, convex and simply connected. The region enclosed by z_2 is contained entirely within the region described by z_1. The picture in your head should be of one blob inside another. I want to use Axes.fill_between() to fill the 'annulus' region. This is the region containing points that are enclosed by z_1, but not by z_2. Is this possible? I've tried fiddling with the 'where' kwarg to no avail. Since they are not circles, I figured this is a no-go with the current matplotlib Axes.* functions. Is my best bet to build a PolyCollection or a matplotlib.patch and add it to the axes myself? Any help is greatly appreciated. Thank you. -- Damon McDougall d.m...@wa... (mailto:d.m...@wa...) http://damon.is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom |
From: Alexander W. <ale...@go...> - 2012-04-16 14:14:01
|
ps. my math-related rcParams are just the defaults, i think mathtext.cal : cursive mathtext.rm : serif mathtext.tt : monospace mathtext.it : serif:italic mathtext.bf : serif:bold mathtext.sf : sans mathtext.fontset : cm mathtext.fallback_to_cm : True mathtext.default : it On 16/04/12 10:50 PM, Michael Droettboom wrote: > What is the math string you are using? I can't seem to reproduce this > with: > > "$D_{40}\prime\prime$" > > What are your math-related rcParams? > > Mike > > On 04/15/2012 08:53 PM, Alexander Wagner wrote: >> Dear Matplotlib users, >> >> Mathtext primed used to be rendered correctly in 1.0.0 like so >> >> >> >> But now they look tiny and badly spaced in 1.1.0 like so >> >> >> >> I haven't tried with all fonts, but it is the case with Bitstream >> Vera Sans and Helvetica. Can anyone confirm? >> >> If I use the LaTeX renderer, it looks correct. >> >> Many thanks, >> Alex >> >> >> >> >> ------------------------------------------------------------------------------ >> For Developers, A Lot Can Happen In A Second. >> Boundary is the first to Know...and Tell You. >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> http://p.sf.net/sfu/Boundary-d2dvs2 >> >> >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
From: Alexander W. <ale...@go...> - 2012-04-16 14:09:49
|
I'm using $D_{40}^{\prime\prime}$ I think this is how prime should be used in latex, or? Using mathtext, when i don't include "^" I get Here, the spacing between the primed is too far apart. Also, in regular latex, primed is usually in superscript, i think, otherwise, without the '^' one gets: I hope i'm not totally wrong, but the mathtext interpreter seems to be inconsistent with the regular latex notation, and the primes are also too widely spaced. I guess it's not that important, it's just aesthetically a bit unsatisfactory. Best wishes, Alex On 16/04/12 10:50 PM, Michael Droettboom wrote: > What is the math string you are using? I can't seem to reproduce this > with: > > "$D_{40}\prime\prime$" > > What are your math-related rcParams? > > Mike > > On 04/15/2012 08:53 PM, Alexander Wagner wrote: >> Dear Matplotlib users, >> >> Mathtext primed used to be rendered correctly in 1.0.0 like so >> >> >> >> But now they look tiny and badly spaced in 1.1.0 like so >> >> >> >> I haven't tried with all fonts, but it is the case with Bitstream >> Vera Sans and Helvetica. Can anyone confirm? >> >> If I use the LaTeX renderer, it looks correct. >> >> Many thanks, >> Alex >> >> >> >> >> ------------------------------------------------------------------------------ >> For Developers, A Lot Can Happen In A Second. >> Boundary is the first to Know...and Tell You. >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> http://p.sf.net/sfu/Boundary-d2dvs2 >> >> >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
From: Michael D. <md...@st...> - 2012-04-16 13:50:47
|
What is the math string you are using? I can't seem to reproduce this with: "$D_{40}\prime\prime$" What are your math-related rcParams? Mike On 04/15/2012 08:53 PM, Alexander Wagner wrote: > Dear Matplotlib users, > > Mathtext primed used to be rendered correctly in 1.0.0 like so > > > > But now they look tiny and badly spaced in 1.1.0 like so > > > > I haven't tried with all fonts, but it is the case with Bitstream Vera > Sans and Helvetica. Can anyone confirm? > > If I use the LaTeX renderer, it looks correct. > > Many thanks, > Alex > > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
From: Alexander W. <ale...@go...> - 2012-04-16 00:53:39
|
Dear Matplotlib users, Mathtext primed used to be rendered correctly in 1.0.0 like so But now they look tiny and badly spaced in 1.1.0 like so I haven't tried with all fonts, but it is the case with Bitstream Vera Sans and Helvetica. Can anyone confirm? If I use the LaTeX renderer, it looks correct. Many thanks, Alex |
From: Jae-Joon L. <lee...@gm...> - 2012-04-15 15:12:30
|
Unfortunately, this is something that I haven't considered when implementing the FancyArrowPatch. As you may know, FancyArrowPatch is a single patch object (at least viewed from outside), so you cannot have multiple linestyles that can be set by users. So, one option is to change the implementation to use a hard-coded line style for arrow heads, but this is not straight forward in fact. Another option is to use custom path effects. Attached is a modified version of your script with this approach. Although this makes your code more complicated, this could be the most straight forward way. Regards, -JJ On Fri, Apr 13, 2012 at 10:30 AM, Jason Grout <jas...@cr...> wrote: > When the -|> style was added to FancyArrowPatch, the purpose was to add > an arrow style with a certain style shaft, but a solid head [1]. > However, since the given linestyle is used for the outline of the head, > we can have arrowheads that look very odd. Here is the example input > and output: > > http://aleph.sagemath.org/?q=0b7e7b41-e6cc-4cfe-b176-e42ece3565c9 > > from matplotlib.pyplot import figure, show > from matplotlib.patches import FancyArrowPatch > > fig = figure() > ax = fig.add_subplot(111,autoscale_on=False,) > p = FancyArrowPatch((0,0), (1,1), > arrowstyle='-|>,head_width=8,head_length=16',lw=3,fc='k',ec='k',linestyle='dashed') > ax.add_patch(p) > show() > > Is there an easy fix to make the arrowhead have a solid linestyle, even > if the shaft is dashed? Is this desirable to anyone else besides me? > > Thanks, > > Jason > > [1] http://sourceforge.net/mailarchive/message.php?msg_id=21133511 > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
From: Ludwig S. <lud...@gm...> - 2012-04-15 11:04:15
|
Hi Michiel, > OK, that is good to know. > The Apple-supplied python is not installed as a framework; I don't know for the Enthought distribution. Are you sure about this? The Python libraries reside in /System/Library/Frameworks/Python.framework (at least on Lion, but also on earlier versions IIRC) and the installed pyconfig.h contains the following lines: /* Define if you want to produce an OpenStep/Rhapsody framework (shared library plus accessory files). */ #define WITH_NEXT_FRAMEWORK 1 I have been using the MacOSX and TkAgg backends for 4 years with Apple Python (since Leopard) and have never seen a non-framework warning. For the record, using the MacOSX backend on the released matplotlib 1.1.0 and Apple Python 2.7.1 on 10.7.3 Lion, I don't see the three specific focus-related problems first mentioned by Chris. Regards, Ludwig |
From: Naljer <mn...@go...> - 2012-04-14 21:06:43
|
Hi! :-) there are three build-in python versions in my linux-distro python (Standard) ->python 2.6.5 python2.7 ->python 2.7.1 python3 ->python 3.1.2 mpl works fine with py2.6.5 (installed via packagemanager), but i would like to use the new versions of numpy, scipy and mpl. and so python2.7 setup.py install (numpy, scipy and mpl) all without saying! But after from pylab import * and plot([1,2,3],[1,4,9]) and show() ...nothing happens?! No window or errormessage. So something seems missing? http://old.nabble.com/file/p33688343/py2.6.5.jpeg http://old.nabble.com/file/p33688343/py2.7.1.jpeg What's wrong? And what i've exactly to do so that mpl works with python 2.7 ? :-) -- View this message in context: http://old.nabble.com/Installation%3A-show%28%29%2C-and-nothing-happens...-tp33688343p33688343.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
From: Elliot S. <sta...@gm...> - 2012-04-14 18:53:21
|
Nope! No such warning was ever seen. -E On Fri, Apr 13, 2012 at 6:15 PM, Michiel de Hoon <mjl...@ya...>wrote: > OK, that is good to know. > The Apple-supplied python is not installed as a framework; I don't know > for the Enthought distribution. > Anyway, the MacOSX backend checks whether your Python is installed as a > framework, and it issues a warning if it is not installed as a framework. > For your non-framework python, was this warning issued? > > Best, > -Michiel. > > --- On *Fri, 4/13/12, Elliot Saba <sta...@gm...>* wrote: > > > From: Elliot Saba <sta...@gm...> > Subject: Re: [Matplotlib-users] Focus in OSX > To: "Chris Laumann" <cla...@ph...> > Cc: "Michiel de Hoon" <mjl...@ya...>, " > mat...@li..." < > mat...@li...> > Date: Friday, April 13, 2012, 4:57 PM > > > Confirmed, when I installed my python as a framework, (With homebrew, > `brew install python --framework`) the focus now works properly. > -E > > On Thu, Apr 12, 2012 at 7:57 PM, Chris Laumann < > cla...@ph...<http://mc/compose?to=cla...@ph...> > > wrote: > > Actually I don't know about the apple supplied python, but I believe > enthoughts python is installed as a framework. > > C > > > > On Apr 12, 2012, at 8:53 PM, Michiel de Hoon <mjl...@ya...<http://mc/compose?to=mjl...@ya...>> > wrote: > > > --- On Wed, 4/11/12, Zachary Pincus <zac...@ya...<http://mc/compose?to=zac...@ya...>> > wrote: > >> Hopefully someone who knows more about the OS X backend can > >> comment here... > > > > It sounds like the Python you are using is not installed as a framework. > Using the --enable-framework flag when compiling Python. > > > > -Michiel. > > > > > ------------------------------------------------------------------------------ > > For Developers, A Lot Can Happen In A Second. > > Boundary is the first to Know...and Tell You. > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li...<http://mc/compose?to=Mat...@li...> > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li...<http://mc/compose?to=Mat...@li...> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > |
From: Michiel de H. <mjl...@ya...> - 2012-04-14 01:15:17
|
OK, that is good to know. The Apple-supplied python is not installed as a framework; I don't know for the Enthought distribution. Anyway, the MacOSX backend checks whether your Python is installed as a framework, and it issues a warning if it is not installed as a framework. For your non-framework python, was this warning issued? Best, -Michiel. --- On Fri, 4/13/12, Elliot Saba <sta...@gm...> wrote: From: Elliot Saba <sta...@gm...> Subject: Re: [Matplotlib-users] Focus in OSX To: "Chris Laumann" <cla...@ph...> Cc: "Michiel de Hoon" <mjl...@ya...>, "mat...@li..." <mat...@li...> Date: Friday, April 13, 2012, 4:57 PM Confirmed, when I installed my python as a framework, (With homebrew, `brew install python --framework`) the focus now works properly.-E On Thu, Apr 12, 2012 at 7:57 PM, Chris Laumann <cla...@ph...> wrote: Actually I don't know about the apple supplied python, but I believe enthoughts python is installed as a framework. C On Apr 12, 2012, at 8:53 PM, Michiel de Hoon <mjl...@ya...> wrote: > --- On Wed, 4/11/12, Zachary Pincus <zac...@ya...> wrote: >> Hopefully someone who knows more about the OS X backend can >> comment here... > > It sounds like the Python you are using is not installed as a framework. Using the --enable-framework flag when compiling Python. > > -Michiel. > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
From: Patrick M. <pat...@gm...> - 2012-04-13 23:01:02
|
Greetings, I've noticed an issue when trying to create hatched plots. When I try to create hatched plots with dashed lines, I get inconsistent behavior between matplotlib.pyplot.show() and matplotlib.pyplot.savefig(). The show() command will correctly (in terms of what I want) display the hatched area as a dashed line, whereas savefig() will save an image with the edge contour dashed, but the hatching as solid lines. A self contained example script can be found here: https://gist.github.com/2378109 For those who just want to see figures as to what I'm talking about they can be found at the following. What I want: http://www.patricktmarsh.com/tmp/correct_example.png What I get: http://www.patricktmarsh.com/tmp/incorrect_example.png What I want: http://www.patricktmarsh.com/tmp/correct_web.png What I get: http://www.patricktmarsh.com/wp-content/gallery/2012images/20060406_day2_color.png Thanks for any help! Patrick --- Patrick Marsh Ph.D. Candidate / Liaison to the HWT School of Meteorology / University of Oklahoma Cooperative Institute for Mesoscale Meteorological Studies National Severe Storms Laboratory http://www.patricktmarsh.com |
From: Elliot S. <sta...@gm...> - 2012-04-13 20:58:02
|
Confirmed, when I installed my python as a framework, (With homebrew, `brew install python --framework`) the focus now works properly. -E On Thu, Apr 12, 2012 at 7:57 PM, Chris Laumann <cla...@ph... > wrote: > Actually I don't know about the apple supplied python, but I believe > enthoughts python is installed as a framework. > > C > > > > On Apr 12, 2012, at 8:53 PM, Michiel de Hoon <mjl...@ya...> wrote: > > > --- On Wed, 4/11/12, Zachary Pincus <zac...@ya...> wrote: > >> Hopefully someone who knows more about the OS X backend can > >> comment here... > > > > It sounds like the Python you are using is not installed as a framework. > Using the --enable-framework flag when compiling Python. > > > > -Michiel. > > > > > ------------------------------------------------------------------------------ > > For Developers, A Lot Can Happen In A Second. > > Boundary is the first to Know...and Tell You. > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
From: Jouni K. S. <jk...@ik...> - 2012-04-13 20:29:02
|
Jouni K. Seppänen <jk...@ik...> writes: > I have a suggested fix for this at > https://github.com/matplotlib/matplotlib/pull/817 This is now merged into the v1.1.x branch, from which the fix should propagate to the upcoming release. -- Jouni K. Seppänen http://www.iki.fi/jks |
From: Ignas A. <ani...@gm...> - 2012-04-13 20:25:54
|
Dear all, I was wondering if it is possible to use matplotlib from C++ directly and I have found an example on how to do this on StackOverflow: http://stackoverflow.com/questions/2509156/anyone-knows-a-matplotlib-equivalent-in-c-or-c However, my question is about piping. Where could I find any tutorials on how to pipe data directly to matplotlib so that I would not need to right it to a file and then read it? Also, does matplotlib benefit from usage of cython and if it does, are there any things I should know before just trying to compile a matplotlib script with cython? All best, Ignas A. |
From: Benjamin R. <ben...@ou...> - 2012-04-13 13:10:00
|
On Fri, Apr 13, 2012 at 2:21 AM, Jonathan Bruck <jdt...@gm...> wrote: > Thanks for a response, but unfortunately it doesn't seem to work. I have > some sample code on pastebin http://pastebin.com/W6JmbCsz in case the > following does not email out well > > # -*- coding: utf-8 -*- > """ > Created on Thu Apr 12 11:16:03 2012 > > Using the current stable version of pythonxy on Windows 7 32bit > Author: Jonathan > > > Notice how the figure box is not placed correctly, effectively missing the > legend entirely > """ > > import matplotlib.pyplot as plt > import numpy as np > > x = np.arange(-2*np.pi, 2*np.pi, 0.1) > fig = plt.figure(1, figsize=(8,6)) > ax = fig.add_subplot(111) > ax.plot(x, np.sin(x), label='Sine') > ax.plot(x, np.cos(x), label='Cosine') > ax.plot(x, np.arctan(x), label='Inverse tan') > handles, labels = ax.get_legend_handles_labels() > lgd = ax.legend(handles, labels, loc=9, bbox_to_anchor=(0.5,-0.1)) > ax.grid('on') > #fig.tight_layout() > fig.savefig('samplefigure', bbox_extra_artists=(lgd,), bbox='tight') > > > I apologize, it was bbox_inches='tight', not bbox='tight'. Because savefig has to be able to take arbitrary kwargs that get passed down to the backends, it does not check for incorrect kwargs. Ben Root |
From: Martin M. <mmo...@fo...> - 2012-04-13 12:30:53
|
Martin Mokrejs wrote: > Hi, > I am trying to improve my code where I cannot find out why matplotlib-1.1.0 does not > support colors specified as RG tuples. Here is an example. > > > > import numpy as np > import matplotlib.pyplot as plt > > _nums = [160.0, 160.0, 160.0, 95.0, 160.0, 160.0] Grr. This was the trick: _nums = [[160.0], [160.0], [160.0], [95.0], [160.0], [160.0]] What a wasteful list creation. :( > _colors = [(0.5019607843137255, 0.0, 0.5019607843137255), (0.5019607843137255, 0.0, 0.5019607843137255), (0.5019607843137255, 0.0, 0.5019607843137255), (0.5019607843137255, 0.0, 0.5019607843137255), (0.5019607843137255, 0.0, 0.5019607843137255), (0.5019607843137255, 0.0, 0.5019607843137255)] > _legends = ['foo', 'foo', 'foo', 'blah', 'foo', 'foo'] > > plt.hist(_nums, histtype='bar', align='mid', color=_colors, log=False, label=_legends) > > plt.show() > > > The above code gives me: > > File "/usr/lib64/python2.7/site-packages/matplotlib/pyplot.py", line 2332, in hist > ret = ax.hist(x, bins, range, normed, weights, cumulative, bottom, histtype, align, orientation, rwidth, log, color, label, **kwargs) > File "/usr/lib64/python2.7/site-packages/matplotlib/axes.py", line 7598, in hist > raise ValueError("color kwarg must have one color per dataset") > ValueError: color kwarg must have one color per dataset > > > Mainly, I am suggesting the error message to be improved and to write out how many > items were in data, color and legend iterables passed to the function. That would help Would it tells me my problem is not with color but with data points life would be much easier. ;) > in some cases albeit not with this example. That needs some other fix. ;) > > I would like that one can also pass in a list of HTML-like colors, e.g. 'F0F8FF' or 0xF0F8FF > would be valid. Sorry, meant also '#F0F8FF', but now I have verified that they do work already: _colors = ['b', 'b', 'b', 'r', 'b', 'b'] _colors = ['#C0C0C0', '#C0C0C0', '#C0C0C0', '#800000', '#C0C0C0', '#C0C0C0'] _colors = [(0.5019607843137255, 0.0, 0.5019607843137255), (0.5019607843137255, 0.0, 0.5019607843137255), (0.5019607843137255, 0.0, 0.5019607843137255), (0.5019607843137255, 0.0, 0.5019607843137255), (0.5019607843137255, 0.0, 0.5019607843137255), (0.5019607843137255, 0.0, 0.5019607843137255)] So this was all about *data* points to be wrapped in iterables. :(( Martin |