SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

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
(30)
3
(11)
4
(5)
5
(14)
6
(21)
7
(19)
8
(29)
9
(23)
10
(5)
11
(3)
12
(9)
13
(6)
14
(12)
15
(10)
16
(15)
17
(5)
18
(6)
19
(4)
20
(28)
21
(8)
22
(5)
23
(10)
24
(4)
25
(1)
26
(6)
27
(13)
28
(11)
29
(9)
30
(23)

Showing 4 results of 4

From: Doug S. <ds...@bl...> - 2005年09月19日 20:09:41
 I was just working on the same problem when I saw 
 your post. There is a way to do this without having to hack
 code. As I myself learned from this list, the ticks
 are markers. The trick is to set the markeredgewidth
 of the ticks. For example:
 plot1 = subplot(111,axisbg='w')
 set(plot1.get_xticklines() + plot1.get_yticklines() , mew=3.0)
 This should do the trick.
 Doug
On Thursday 08 September 2005 04:58 am, Martin Richter wrote:
> Hello everyone,
>
> Arnd Baecker and I tried a while to enlarge the thickness of tick-lines.
> One of our presumptions was:
>
> ax = gca()
> xticks = ax.xaxis.get_ticklines()
> setp(xticks, linewidth= 4)
>
> This was not working.
> But we finally found a way to do so. To do the desired enlargement we had
> to edit the 'lines.py'-file. Because of the ticks also just being lines we
> added something to the methods
>
> _draw_tickleft(self, renderer, gc, xt, yt)
> _draw_tickright(self, renderer, gc, xt, yt)
> _draw_tickup(self, renderer, gc, xt, yt)
> _draw_tickdown(self, renderer, gc, xt, yt).
>
> Right after each
>
> offset = renderer.points_to_pixels(self._markersize)
>
> (which as far as we know sets the lenght of the ticks with help of the
> rc-file via some minor detours)
> we wrote a
>
> gc.set_linewidth(self._linewidth).
>
> Now the
>
> ax = gca()
> xticks = ax.xaxis.get_ticklines()
> setp(xticks, linewidth= 4)
>
> did work well!
>
> Now there are three more things to ask:
>
> a) Is there any drawback? We just used the self._linewidth without really
> knowing what it was for. Could it be that some user sets a parameter
> somewhere to change some other linewidth and changes the tickwidth "en
> passant"?
> b) In behalf of unification it would possibly be better to add this option
> to the .matplotlibrc-file in the neighbourhood of
>
> tick.major.size : 4 # major tick size in points.
>
> (As far as I can see this means changeing the Class Tick's __init__ placed
> in axis.py a little bit.)
> c) Now it is possible to change 'lw'. Should it also be possible to change
> 'color', 'linestyle'?
>
> Bye,
> Martin
-- 
 ----------------------------------------------------------------------------
 F. Douglas Swesty
 Research Assistant Professor
 Department of Physics and Astronomy, SUNY at Stony Brook
 email: ds...@ma... 
 www: http://www.astro.sunysb.edu/dswesty
 phone: (631)-632-8055 FAX: (631)-632-1745
 Postal mail: Dept. of Physics and Astronomy 
 SUNY at Stony Brook
 Stony Brook, NY 11794+3800
 ----------------------------------------------------------------------------
From: Stephen B. <st...@th...> - 2005年09月19日 19:44:52
Is there a way to set the size of a polar plot (similar to the axis argument
to the plot command for a rectangular plot)? Thanks.
_________
Stephen 
If your desktop gets out of control easily,
you probably have too much stuff on it that
doesn't need to be there.
 Donna Smallin, "Unclutter Your Home"
From: John H. <jdh...@ac...> - 2005年09月19日 17:22:09
Hi all,
This is a quick release in advance of scipy this Thursday. I'm short
on time right now so I'll just paste in the CHANGELOG since the last
release. I also have not been able to make a binary build for
python2.3 on win32, but there is a 2.4 version. I'll get this all
sorted out next week.
2005年09月14日 Added a new 'resize_event' which triggers a callback with a
 backend_bases.ResizeEvent object. Not implemented on all
 backends - JDH
2005年09月14日 font_manager.py: removed chkfontpath from x11FontDirectory() - SC
2005年09月14日 Factored out auto date locator/formatter factory code into
 matplotlib.date.date_ticker_factory; applies John Bryne's
 quiver patch.
2005年09月13日 Added Mark's axes positions history patch #1286915
2005年09月09日 Added support for auto canvas resizing with
 fig.set_figsize_inches(9,5,forward=True) # inches
 OR
 fig.resize(400,300) # pixels
2005年09月07日 figure.py: update Figure.draw() to use the updated
 renderer.draw_image() so that examples/figimage_demo.py works again.
 examples/stock_demo.py: remove data_clipping (which no longer
 exists) - SC
2005年09月06日 Added Eric's tick.direction patch: in or out in rc
2005年09月06日 Added Martin's rectangle selector widget
2005年09月04日 Fixed a logic err in text.py that was preventing rgxsuper
 from matching - JDH
2005年08月29日 Committed Ken's wx blit patch #1275002
2005年08月26日 colorbar modifications - now uses contourf instead of imshow
 so that colors used by contourf are displayed correctly.
 Added two new keyword args (cspacing and clabels) that are
 only relevant for ContourMappable images - JSWHIT
2005年08月24日 Fixes a PS image bug reported by Darren - JDH
2005年08月23日 colors.py: change hex2color() to accept unicode strings as well as
 normal strings. Use isinstance() instead of types.IntType etc - SC
2005年08月16日 removed data_clipping line and rc property - JDH
2005年08月22日 backend_svg.py: Remove redundant "x=0.0 y=0.0" from svg element.
 Increase svg version from 1.0 to 1.1. Add viewBox attribute to svg
 element to allow SVG documents to scale-to-fit into an arbitrary
 viewport - SC
2005年08月16日 Added Eric's dot marker patch - JDH
2005年08月08日 Added blitting/animation for TkAgg - CM
2005年08月05日 Fixed duplicate tickline bug - JDH
2005年08月05日 Fixed a GTK animation bug that cropped up when doing
 animations in gtk//gtkagg canvases that had widgets packed
 above them
2005年08月05日 Added Clovis Goldemberg patch to the tk save dialog
2005年08月04日 Removed origin kwarg from backend.draw_image. origin is
 handled entirely by the frontend now.
2005年07月03日 Fixed a bug related to TeX commands in backend_ps
2005年08月03日 Fixed SVG images to respect uppoer and lower origins.
2005年08月03日 Added flipud method to image and removed it from to_str.
2005年07月29日 Modified figure.figaspect to take an array or number;
 modified backend_svg to write utf-8 - JDH
2005年07月30日 backend_svg.py: embed png image files in svg rather than linking
 to a separate png file, fixes bug #1245306 (thanks to Norbert Nemec
 for the patch) - SC
From: christophe g. <chr...@no...> - 2005年09月19日 11:48:16
Hi all,
I have switched to python2.4 and matplotlib does not install fine !
When doing : import pylab 
I get :
 >>> import pylab
 
 The import of the numeric version of the _transforms module,
 _nc_transforms, failed. This is is either because numeric was
 unavailable when matplotlib was compiled, because a dependency
 of
 _nc_transforms could not be satisfied, or because the build flag
 for
 this module was turned off in setup.py. If it appears that
 _nc_transforms was not built, make sure you have a working copy
 of
 numeric and then re-install matplotlib. Otherwise, the following
 traceback gives more details:
 
 Traceback (most recent call last):
 File "<stdin>", line 1, in ?
 File "/usr/lib/python2.4/site-packages/pylab.py", line 1, in ?
 from matplotlib.pylab import *
 File "/usr/lib/python2.4/site-packages/matplotlib/pylab.py",
 line 198, in ?
 from axes import Axes, PolarAxes
 File "/usr/lib/python2.4/site-packages/matplotlib/axes.py",
 line 13, in ?
 from artist import Artist, setp
 File "/usr/lib/python2.4/site-packages/matplotlib/artist.py",
 line 4, in ?
 from transforms import identity_transform
 File "/usr/lib/python2.4/site-
 packages/matplotlib/transforms.py", line 189, in ?
 from _transforms import Value, Point, Interval, Bbox, Affine
 File "/usr/lib/python2.4/site-
 packages/matplotlib/_transforms.py", line 11, in ?
 from matplotlib._nc_transforms import *
 ImportError: /usr/lib/python2.4/site-
 packages/matplotlib/_nc_transforms.so: undefined symbol:
 _ZNSt24__default_alloc_templateILb1ELi0EE8allocateEj
 
However, Numeric24 is installed (and was installed before matplotlib),
and import Numeric is OK.
BTW, I use gcc33... but i don't think it matters a lot, does it ?l
Any idea is welcome !
Chris

Showing 4 results of 4

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /