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
(8) |
2
(2) |
3
(1) |
4
(2) |
5
(15) |
6
(12) |
7
(10) |
8
(2) |
9
(5) |
10
(5) |
11
(8) |
12
(12) |
13
(26) |
14
(10) |
15
(11) |
16
(2) |
17
(3) |
18
(19) |
19
(25) |
20
(11) |
21
(8) |
22
(8) |
23
(2) |
24
|
25
(8) |
26
(4) |
27
(2) |
28
(5) |
29
(3) |
30
(5) |
On 6/21/2012 10:24 PM, Tony Yu wrote: > Here's an example based off the horizontal bar charts in the gallery. Pretty good, really! More than just a starting point. Thanks, Alan
On Fri, Jun 22, 2012 at 8:55 AM, Michael Droettboom <md...@st...> wrote: > > On Thu, Jun 21, 2012 at 12:54 AM, Christopher Graves < > chr...@gm...> wrote: > >> >> Has anyone had a chance to take a look at this very annoying bug with >> using AutoMinorLocator? >> > > > Ok, I proposed a simple bug fix at > https://github.com/matplotlib/matplotlib/issues/807 > How does one go about submitting this to the matplotlib package? > > Submitting to a github issue (as you've done) certainly works, and one of > the developers should get to it soon. > > We don't require it, but the next level of contribution would be to submit > pull requests. This is described in the matplotlib developer docs here: > > http://matplotlib.sourceforge.net/devel/gitwash/index.html > > But if you're not a regular git user and that's too much overhead for a > simple patch, I wouldn't worry about it. > > Mike > > I submitted this PR: https://github.com/matplotlib/matplotlib/issues/807 The suggestion isn't a full solution, as I would rather see that the minor ticks still gets drawn, but at least it doesn't crash anymore. Of course, I am not entirely certain of the value of having the minor ticks disappear and so this would just introduce "buggy" behavior, in a sense. Ben Root
I usually do something like: y=np.array([60,80,120,180]) x = np.ones_like(y)*3 plt.plot(x, y,'+',markersize=8,mec='k') David G. Parker From: Benjamin Root <ben...@ou...> To: Ulrich vor dem Esche <ulr...@go...> Cc: mat...@li... Date: 06/06/2012 12:15 PM Subject: Re: [Matplotlib-users] scatter plot with constant x On Tue, Jun 5, 2012 at 11:53 AM, Ulrich vor dem Esche < ulr...@go...> wrote: Hey! :o) This should be simple, but i cant manage: I need to plot many dots with the same x, like plt.plot([3,3,3,3],[60,80,120,180],'+',markersize=8,mec='k') The array for x values is silly, especially since the number of y values may be rather large. Is there a way to enter a constant there? Cheers to you all! Ulli No, but you can do this: plt.plot([3] * 4, [60, 80, 120, 180], ...) Does that help? Ben Root ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________ Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> On Thu, Jun 21, 2012 at 12:54 AM, Christopher Graves > <chr...@gm... <mailto:chr...@gm...>> wrote: > > > Has anyone had a chance to take a look at this very annoying bug > with using AutoMinorLocator? > > > > Ok, I proposed a simple bug fix at > https://github.com/matplotlib/matplotlib/issues/807 > How does one go about submitting this to the matplotlib package? Submitting to a github issue (as you've done) certainly works, and one of the developers should get to it soon. We don't require it, but the next level of contribution would be to submit pull requests. This is described in the matplotlib developer docs here: http://matplotlib.sourceforge.net/devel/gitwash/index.html But if you're not a regular git user and that's too much overhead for a simple patch, I wouldn't worry about it. Mike
Hi, I have a problem with updating a figure within a loop. At each iteration I wish to plot some data as fast as possible, however, only the final plot is shown while the figure is empty while the looping takes place. Below I have included a little script that illustrates the problem. Note that the problem only is apparent when using windows (pythonxy) while it works fine on my linux installation (kubuntu 12.04). import numpy as np import matplotlib.pyplot as plt ##Input x = np.arange(120.0)*2*np.pi/120.0 x = np.resize(x, (100,120)) y = np.arange(100.0)*2*np.pi/100.0 y = np.resize(y, (120,100)) y = np.transpose(y) z = np.sin(x) + np.cos(y) fig,ax = plt.subplots() im = ax.imshow(z) fig.show() for j in range(5000): x += np.pi/15 y += np.pi/20 z = np.sin(x) + np.cos(y) im.set_data(z) fig.canvas.draw() plt.imshow(z) plt.show() Thanks for your help, Niels
On Thu, Jun 21, 2012 at 6:42 PM, Alan G Isaac <ala...@gm...> wrote: > I never thought it would happen, but the > Matplotlib Gallery has for once failed me: > http://matplotlib.sourceforge.net/gallery.html > > I was looking for an example of creating a nice > tornado chart: > > http://code.enthought.com/projects/chaco/docs/html/user_manual/tutorial_1.html > http://www.tushar-mehta.com/excel/software/tornado/ > http://www.juiceanalytics.com/writing/recreating-ny-times-cancer-graph/ > > A basic version will do, say along the lines of > the Chaco example. > > Thanks for any leads, > Alan Isaac > > Hi Alan, Here's an example based off the horizontal bar charts in the gallery. There may be a better way to align the y-tick labels (the example manually tweaks the x-offset), but I don't know how to do it off the top of my head. Alternatively, you could put the ticks on the left and squish the space between subplots (using `subplots_adjust(wspace=0)` but then you run into the issue of overlapping x-tick labels. Hope that helps, -Tony # tornado chart example import numpy as np import matplotlib.pyplot as plt people = ('Tom', 'Dick', 'Harry', 'Slim', 'Jim') num_people = len(people) time_spent = np.random.uniform(low=5, high=100, size=num_people) proficiency = np.abs(time_spent / 12. + np.random.normal(size=num_people)) pos = np.arange(num_people) + .5 # bars centered on the y axis fig, (ax_left, ax_right) = plt.subplots(ncols=2) ax_left.barh(pos, time_spent, align='center', facecolor='cornflowerblue') ax_left.set_yticks([]) ax_left.set_xlabel('Hours spent') ax_left.invert_xaxis() ax_right.barh(pos, proficiency, align='center', facecolor='lemonchiffon') ax_right.set_yticks(pos) # x moves tick labels relative to left edge of axes in axes units ax_right.set_yticklabels(people, ha='center', x=-0.08) ax_right.set_xlabel('Proficiency') plt.suptitle('Learning Python') plt.show()
Hi All, Trying to tune alignment of xtick labels. I have the following for my lables === import matlplotlib.pyplot as plt x_dat = [1,2,3,4] x_label = ['$\mathrm{nn}$' , '${}^2\mathrm{H}$', '${}^4\mathrm{He}$', '${}^4_{\Lambda\Lambda}\mathrm{He}$'] plt.xticks(x_dat,x_label) === you can see I have both superscripts and subscripts (and sometimes none) on these labels. Try as I might, I can not figure out how to get these to align how I want (I have tried all the options from verticalalignment=option in the plt.xticks() command. If LaTeX were rendering such fonts (in a TeX document), it would align the bottom of the characters, and then place the super and sub scripts accordingly. It seems that matplotlib is creating a bounding box around each label, and then aligning according to the top, bottom or center of the corresponding bounding boxes. Is there a way to get the alignment to work according to my above description (the LaTeX way)? If it involves fine tuning the position of each label - could someone demonstrate a simple example of how to set the positions individually? I am using the mathtext (there are issues I have had trying to get latex to work with my current set up, which I am still working on, but aren't sorted out yet). Thanks, Andre