You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
1
(9) |
2
(6) |
3
(8) |
4
(6) |
5
|
6
(1) |
7
(4) |
8
(15) |
9
(11) |
10
|
11
(1) |
12
(13) |
13
(5) |
14
(10) |
15
(12) |
16
(7) |
17
(12) |
18
(5) |
19
(4) |
20
(11) |
21
(4) |
22
(11) |
23
(28) |
24
(24) |
25
(23) |
26
(6) |
27
(7) |
28
(17) |
29
(21) |
30
(6) |
|
|
|
Chris Withers wrote: > Eric Firing wrote: >> >>> Out of interest, how does one tell MPL to "start a new figure and >>> forget everything that's gone before"? >> >> You can minimize the amount of package and module-level state >> information by using the oo interface: see examples/agg_oo.py. > > I tried this example, and it generates no output. > Is that to be expected? Chris, It should produce a "test.png"; it is using a non-interactive backend. It works on my machine. Eric > > cheers, > > Chris >
Hey All, Is there any way I can control the location that a tk figure window is shown on screen? I can control the size fine with: pylab.figure(figsize=(10,10)) ...but this produces a figure that, while it's the right size, is rendered with the top left of the window in the middle of the screen. If I can get it to be to-left, then it will all be visisble without me having to move it with a mouse ;-). Any ideas? Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Eric Firing wrote: > >> Out of interest, how does one tell MPL to "start a new figure and >> forget everything that's gone before"? > > You can minimize the amount of package and module-level state > information by using the oo interface: see examples/agg_oo.py. I tried this example, and it generates no output. Is that to be expected? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
That worked, thanks. On Wed, Apr 9, 2008 at 5:42 AM, Matthias Michler <Mat...@gm...> wrote: > Hello Joseph, > > I'm not sure I understand correctly, but it seems to me that the number of > plotted lines (from errorbar, len(gca().lines) ) is large compared to your 3 > labels. That's why only the lines of the first errorbar are used to build the > legend. > It might to helpful to use the 'label' kwarg of errorbar to properly connect > the errorbar to a label. After that you can build the legend with 'legend()'. > > regards Matthias > > PS: Could you provide a complete example, if my suggestion doesn't help, > please? > > > > On Wednesday 09 April 2008 10:54:23 Joseph Xu wrote: > > Hi: > > > > I'm having a problem where the lines I plot show up in one style (all > > solid, with different colors) while the legend shows them to be a > > different style (all blue, different dashes). I used the following > > code to plot: > > > > labels = [] > > dir_names = {'U' : 'UP', 'D' : 'DOWN', 'L' : 'LEFT', 'R' : 'RIGHT'} > > for dir in lines: > > xa = sorted(lines[dir].keys()) > > ya = [lines[dir][x][0] for x in xa] > > yerr = [] > > for x in xa: > > if lines[dir][x][1] > lines[dir][x][2]: > > # no bound data > > yerr.append([0,0]) > > else: > > yerr.append([lines[dir][x][1] - lines[dir][x][0], lines[dir][x][2] > > - lines[dir][x][0]]) > > yerra = array(yerr).transpose() > > errorbar(xa, ya, yerr=yerra) > > labels.append(dir_names[dir]) > > > > legend(labels) > > show() > > > > > > Here's the result: > > > > http://i32.tinypic.com/2eat8r8.jpg > > > > What am I doing wrong? > > > > Thanks for the help. > > > > Joseph > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save 100ドル. > > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/java > >one _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save 100ドル. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
Hello, I wrote a Python application using GTK+ and Matplotlib. I normally use the application in full screen mode (1680x1050). There is a big gray border. You can reproduce it using the embedding_in_gtk.py from the examples and full screen it. How can I remove this grey border? The numbers on the axes should not be cropped. Regards, Benjamin Drung
Unfortunately, matplotlib doesn't automatically provide anything like the rich text formatting you describe. The best you could do is to manually position the text. Cheers, Mike Olivier De Wolf wrote: > Hi, > > I would like to add a Text that has three colors, "bbbbbbb, gggggggg, > rrrrrrrr" where bbbb is in blue, gggg is in green and rrrr in red. > I am able to create three texts but how can I have them position 'side > by side'? > > > Thanks, > > Olivier > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save 100ドル. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA
Hello Joseph, I'm not sure I understand correctly, but it seems to me that the number of plotted lines (from errorbar, len(gca().lines) ) is large compared to your 3 labels. That's why only the lines of the first errorbar are used to build the legend. It might to helpful to use the 'label' kwarg of errorbar to properly connect the errorbar to a label. After that you can build the legend with 'legend()'. regards Matthias PS: Could you provide a complete example, if my suggestion doesn't help, please? On Wednesday 09 April 2008 10:54:23 Joseph Xu wrote: > Hi: > > I'm having a problem where the lines I plot show up in one style (all > solid, with different colors) while the legend shows them to be a > different style (all blue, different dashes). I used the following > code to plot: > > labels = [] > dir_names = {'U' : 'UP', 'D' : 'DOWN', 'L' : 'LEFT', 'R' : 'RIGHT'} > for dir in lines: > xa = sorted(lines[dir].keys()) > ya = [lines[dir][x][0] for x in xa] > yerr = [] > for x in xa: > if lines[dir][x][1] > lines[dir][x][2]: > # no bound data > yerr.append([0,0]) > else: > yerr.append([lines[dir][x][1] - lines[dir][x][0], lines[dir][x][2] > - lines[dir][x][0]]) > yerra = array(yerr).transpose() > errorbar(xa, ya, yerr=yerra) > labels.append(dir_names[dir]) > > legend(labels) > show() > > > Here's the result: > > http://i32.tinypic.com/2eat8r8.jpg > > What am I doing wrong? > > Thanks for the help. > > Joseph > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save 100ドル. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/java >one _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Hi, I'm a matplotlib N00b and I have ============ from pylab import * multimap = ... figure(1) for index, key in enumerate( multimap.keys() ): p = subplot(6, 5, index+1) xlabel('intraclashes kcal') ylabel('count') p.axis([0,70,0,0.2]) vals = multimap[key] #p.set_autoscale_on(False) p.hist(vals , 20, normed=True, facecolor="red") show() =========== And depending on if I comment or uncomment the #p.set_autoscale_on(False) I get either variable axes ranges http://people.binf.ku.dk/biehl/penelope/mpl_var_axes.png or squished histogram bars http://people.binf.ku.dk/biehl/penelope/mpl_fixed_axes.png Is there a way to fix this? Thanks, Anders
Hi: I'm having a problem where the lines I plot show up in one style (all solid, with different colors) while the legend shows them to be a different style (all blue, different dashes). I used the following code to plot: labels = [] dir_names = {'U' : 'UP', 'D' : 'DOWN', 'L' : 'LEFT', 'R' : 'RIGHT'} for dir in lines: xa = sorted(lines[dir].keys()) ya = [lines[dir][x][0] for x in xa] yerr = [] for x in xa: if lines[dir][x][1] > lines[dir][x][2]: # no bound data yerr.append([0,0]) else: yerr.append([lines[dir][x][1] - lines[dir][x][0], lines[dir][x][2] - lines[dir][x][0]]) yerra = array(yerr).transpose() errorbar(xa, ya, yerr=yerra) labels.append(dir_names[dir]) legend(labels) show() Here's the result: http://i32.tinypic.com/2eat8r8.jpg What am I doing wrong? Thanks for the help. Joseph
Hi, I would like to add a Text that has three colors, "bbbbbbb, gggggggg, rrrrrrrr" where bbbb is in blue, gggg is in green and rrrr in red. I am able to create three texts but how can I have them position 'side by side'? Thanks, Olivier
Perfect, this works like a charm. And if so desired, this could also be done without changing the symlink by just changing the Python Makefile to use gcc-4.2 and g++-4.2. Thanks! Josh On Tue, Apr 8, 2008 at 3:11 PM, Jeff Whitaker <js...@fa...> wrote: > Joshua Lippai wrote: > > > Also, I assume I should also take out the no-cpp-precomp flag since > > that doesn't work with GCC 4.2 either? Or does it not matter? > > > > > > Josh: Apparently it just ignores that flag. > > > > Josh > > > > On Tue, Apr 8, 2008 at 1:57 PM, Joshua Lippai <dis...@gm...> > wrote: > > > > > > > Thanks, Jeff. But is there a downside to removing the Wno-long-double > > > flag I should know about? > > > > > > Josh > > > > > > > > > > No idea. > > -Jeff > > > > > > > > > > > > > > On Tue, Apr 8, 2008 at 9:06 AM, Jeff Whitaker <js...@fa...> > wrote: > > > > > > > > Joshua Lippai wrote: > > > > > > > > > Hello all, > > > > > > > > > > I'v been trying to get the same python module setup in 10.5 qorking > > > > > that I had going in 10.4, and so far I've been unable to install > > > > > matplotlib from svn on my own. I've managed to use an installer > > > > > (easy_install I think...) in the mean time, but I'd really like to > be > > > > > able to keep more up-to-date. When I run python setup.py build, I > get > > > > > the following output: > > > > > > > > > > BUILDING MATPLOTLIB > > > > > matplotlib: 0.98pre > > > > > python: 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) > [GCC > > > > > 4.0.1 (Apple Computer, Inc. build 5363)] > > > > > platform: darwin > > > > > > > > > > REQUIRED DEPENDENCIES > > > > > numpy: 1.0.5.dev4951 > > > > > freetype2: 9.16.3 > > > > > > > > > > OPTIONAL BACKEND DEPENDENCIES > > > > > libpng: 1.2.22 > > > > > Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4 > > > > > wxPython: 2.8.7.1 > > > > > * WxAgg extension not required for wxPython > >= 2.8 > > > > > Gtk+: no > > > > > * Building for Gtk+ requires pygtk; you must > be > > > > able > > > > > * to "import gtk" in your build/install > environment > > > > > Qt: no > > > > > Qt4: no > > > > > Cairo: no > > > > > > > > > > OPTIONAL DATE/TIMEZONE DEPENDENCIES > > > > > datetime: present, version unknown > > > > > dateutil: 1.4 > > > > > pytz: 2008a > > > > > > > > > > OPTIONAL USETEX DEPENDENCIES > > > > > dvipng: 1.9 > > > > > ghostscript: 8.57 > > > > > latex: 3.141592 > > > > > > > > > > EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES > > > > > configobj: matplotlib will provide > > > > > enthought.traits: matplotlib will provide > > > > > > > > > > [Edit setup.cfg to suppress the above messages] > > > > > > > > > > ============================================================================ > > > > > running build > > > > > running build_py > > > > > copying lib/matplotlib/cbook.py -> > > > > build/lib.macosx-10.4-fat-2.5/matplotlib > > > > > copying lib/matplotlib/collections.py -> > > > > > build/lib.macosx-10.4-fat-2.5/matplotlib > > > > > copying lib/matplotlib/lines.py -> > > > > build/lib.macosx-10.4-fat-2.5/matplotlib > > > > > copying lib/matplotlib/rcsetup.py -> > > > > build/lib.macosx-10.4-fat-2.5/matplotlib > > > > > copying lib/matplotlib/backends/backend_qt4agg.py -> > > > > > build/lib.macosx-10.4-fat-2.5/matplotlib/backends > > > > > copying lib/matplotlib/backends/backend_qtagg.py -> > > > > > build/lib.macosx-10.4-fat-2.5/matplotlib/backends > > > > > copying lib/matplotlib/mpl-data/matplotlibrc -> > > > > > build/lib.macosx-10.4-fat-2.5/matplotlib/mpl-data > > > > > copying lib/matplotlib/mpl-data/matplotlib.conf -> > > > > > build/lib.macosx-10.4-fat-2.5/matplotlib/mpl-data > > > > > running build_ext > > > > > building 'matplotlib.backends._backend_agg' extension > > > > > gcc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk > > > > > -fno-strict-aliasing -Wno-long-double -no-cpp-precomp > -mno-fused-madd > > > > > -fno-common -dynamic -DNDEBUG -g -O3 > > > > > > > > > > -I/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/include > > > > > -I/opt/gtk/include/libpng12 -I/usr/local/include -I/usr/include > > > > > -I/usr/X11R6/include -I. > > > > > > > > > > -I/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/include > > > > > -Isrc -Iagg24/include -I. -I/opt/gtk/include/freetype2 > > > > > -I/opt/gtk/include -I/usr/local/include -I/usr/include > > > > > -I/usr/X11R6/include -I. > > > > > > -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 > > > > > -c src/_image.cpp -o build/temp.macosx-10.4-fat-2.5/src/_image.o > > > > > src/_image.cpp: In member function 'Py::Object > > > > > _image_module::from_images(const Py::Tuple&)': > > > > > src/_image.cpp:842: error: insn does not satisfy its constraints: > > > > > (insn 2573 1070 2574 126 agg24/include/agg_color_rgba.h:268 (set > > > > > (mem:QI (plus:SI (reg/f:SI 6 bp) > > > > > (const_int -280 [0xfffffffffffffee8])) [0 SR.2969+0 > S1 A8]) > > > > > (reg:QI 5 di)) 56 {*movqi_1} (nil) > > > > > (nil)) > > > > > src/_image.cpp:842: internal compiler error: in > > > > > reload_cse_simplify_operands, at postreload.c:391 > > > > > Please submit a full bug report, > > > > > with preprocessed source if appropriate. > > > > > See <URL:http://developer.apple.com/bugreporter> for instructions. > > > > > error: command 'gcc' failed with exit status 1 > > > > > > > > > > I'm using Apple's GCC 4.0.1 that gets installed by the Xcode > Developer > > > > > tools, so I really am not sure exactly of what's going on here. I > know > > > > > this has (obviously) been built for OS X 10.5 before, and I'm > > > > > wondering if anyone else has run into this and knows how to get > around > > > > > it. > > > > > > > > > > Thanks, > > > > > Josh > > > > > > > > > > > > > > > > > > > Josh: I've been able to work around this by installing the gcc 4.2 > beta > > > > from Apple. You then have to manually symlink gcc to gcc-4.2 in > /usr/bin, > > > > and edit the Makefile buried within the python installation to remove > the > > > > -Wno-long-double compiler flag (since it doesn't work with gcc-4.2). > I > > > > believe the Makefile is located in > > > > > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config. > > > > > > > > -Jeff > > > > > > > > > > > > > > > > > > > > >