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


Showing 8 results of 8

From: John L. <jla...@it...> - 2016年06月23日 00:30:01
Hi there,
I have been subscribed to matplotlib-users before. I have a new job, and
now I'm connecting from a new email address. I've been using Matplotlib
since before 1.0 was released. Currently, I'm using MPL 1.4.2 and Python
3.5 on Ubuntu Linux 15.04 (if any of that matters).
Please have a look at the following graph:
[image: Inline image 1]
The values in the data set used to plot these two graphs range from 14942
to 14948. In other words, the median of the data set is very far from
zero, but the range of the data is very small. With such a data set, MPL
subtracts a large offset value from the data points, choosing a value such
that the remaining differences are small, positive numbers. I understand
the logic behind this, it simplifies graph labeling on the x-axis of the
left graph, and the y-axis of the right graph.
However, I do not like the way that MPL is displaying the offset value. It
is written in small text, and it does not show up in a consistent place.
On a figure with many adjacent axes, it sometimes isn't clear which axes
owns the annotation. I would prefer to incorporate the offset in the axes
title: for example, the title of the left graph could read "internal
thermistor (+14940)".
So, what is this offset value called in Matplotlib? How do I retrieve it?
How can I override its display? I can obviously do this by wrapping these
particular plots in functions which apply the offset before giving the data
to MPL. But I would prefer to work with MPL itself, as I don't always know
when MPL will judge that a data offset value is needed.
Thanks for your help!
-- 
*John J. Ladasky Jr., Ph.D.*
*Research Scientist*
*International Technological University*
*2711 N. First St, San Jose, CA 95134 USA*
From: Alan <ala...@gm...> - 2016年06月16日 19:15:08
Thank guys, it was an old pkg-config in my PATH. It's now sorted.
Alan
On 16 June 2016 at 20:10, Matthew Brett <mat...@gm...> wrote:
> Hi,
>
> On Thu, Jun 16, 2016 at 9:07 AM, Alan <ala...@gm...> wrote:
> > Hi there,
> >
> > I am not the admin so I have installed my own python 3.5.1 and I am using
> > pip3 to install all modules I need. I got all but matplotlib :-(
> >
> > pip3 install -U matplotlib
> > Collecting matplotlib
> > Using cached matplotlib-1.5.1.tar.gz
> > Complete output from command python setup.py egg_info:
> > Traceback (most recent call last):
> > File "<string>", line 1, in <module>
> > File "/tmp/pip-build-6eka4_fr/matplotlib/setup.py", line 167, in
> > <module>
> > result = package.check()
> > File "/tmp/pip-build-6eka4_fr/matplotlib/setupext.py", line 980, in
> > check
> > min_version='1.2', version=version)
> > File "/tmp/pip-build-6eka4_fr/matplotlib/setupext.py", line 459, in
> > _check_for_pkg_config
> > if (not is_min_version(version, min_version)):
> > File "/tmp/pip-build-6eka4_fr/matplotlib/setupext.py", line 179, in
> > is_min_version
> > return found_version >= expected_version
> > File "/sw/arch/Test2/lib/python3.5/distutils/version.py", line 70,
> in
> > __ge__
> > c = self._cmp(other)
> > File "/sw/arch/Test2/lib/python3.5/distutils/version.py", line
> 337, in
> > _cmp
> > if self.version < other.version:
> > TypeError: unorderable types: str() < int()
> >
> >
> ============================================================================
> > Edit setup.cfg to change the build options
> >
> > BUILDING MATPLOTLIB
> > matplotlib: yes [1.5.1]
> > python: yes [3.5.1 (default, Jun 16 2016, 11:03:02)
> > [GCC
> > 4.4.7 20120313 (Red Hat 4.4.7-11)]]
> > platform: yes [linux]
> >
> > REQUIRED DEPENDENCIES AND EXTENSIONS
> > numpy: yes [version 1.11.0]
> > dateutil: yes [using dateutil version 2.5.3]
> > pytz: yes [using pytz version 2016.4]
> > cycler: yes [using cycler version 0.10.0]
> > tornado: yes [using tornado version 4.3]
> > pyparsing: yes [using pyparsing version 2.1.5]
> > libagg: yes [pkg-config information for 'libagg'
> could
> > not
> > be found. Using local copy.]
> > freetype: yes [version unknown]
> >
> > ----------------------------------------
> > Command "python setup.py egg_info" failed with error code 1 in
> > /tmp/pip-build-6eka4_fr/matplotlib/
> >
> > What am I missing here please?
> >
> > Thanks,
> >
> > Alan
> >
> > PS. btw, with python 2.7.11 all went fine.
>
> By the way does this:
>
> python -m pip install --upgrade pip # upgrade to latest pip
> pip install -f https://nipy.bic.berkeley.edu/manylinux -U matplotlib
>
> work for you to install matplotlib 1.5.1?
>
> Or this, to install 2.0 pre-release?
>
> python -m pip install --upgrade pip # upgrade to latest pip
> pip install -f https://nipy.bic.berkeley.edu/manylinux -U --pre matplotlib
>
> Best,
>
> Matthew
>
-- 
Alan Wilter SOUSA da SILVA, DSc
Senior Bioinformatician, UniProt
European Bioinformatics Institute (EMBL-EBI)
European Molecular Biology Laboratory
Wellcome Trust Genome Campus
Hinxton
Cambridge CB10 1SD
United Kingdom
Tel: +44 (0)1223 494588
From: Matthew B. <mat...@gm...> - 2016年06月16日 19:11:32
Hi,
On Thu, Jun 16, 2016 at 9:07 AM, Alan <ala...@gm...> wrote:
> Hi there,
>
> I am not the admin so I have installed my own python 3.5.1 and I am using
> pip3 to install all modules I need. I got all but matplotlib :-(
>
> pip3 install -U matplotlib
> Collecting matplotlib
> Using cached matplotlib-1.5.1.tar.gz
> Complete output from command python setup.py egg_info:
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File "/tmp/pip-build-6eka4_fr/matplotlib/setup.py", line 167, in
> <module>
> result = package.check()
> File "/tmp/pip-build-6eka4_fr/matplotlib/setupext.py", line 980, in
> check
> min_version='1.2', version=version)
> File "/tmp/pip-build-6eka4_fr/matplotlib/setupext.py", line 459, in
> _check_for_pkg_config
> if (not is_min_version(version, min_version)):
> File "/tmp/pip-build-6eka4_fr/matplotlib/setupext.py", line 179, in
> is_min_version
> return found_version >= expected_version
> File "/sw/arch/Test2/lib/python3.5/distutils/version.py", line 70, in
> __ge__
> c = self._cmp(other)
> File "/sw/arch/Test2/lib/python3.5/distutils/version.py", line 337, in
> _cmp
> if self.version < other.version:
> TypeError: unorderable types: str() < int()
>
> ============================================================================
> Edit setup.cfg to change the build options
>
> BUILDING MATPLOTLIB
> matplotlib: yes [1.5.1]
> python: yes [3.5.1 (default, Jun 16 2016, 11:03:02)
> [GCC
> 4.4.7 20120313 (Red Hat 4.4.7-11)]]
> platform: yes [linux]
>
> REQUIRED DEPENDENCIES AND EXTENSIONS
> numpy: yes [version 1.11.0]
> dateutil: yes [using dateutil version 2.5.3]
> pytz: yes [using pytz version 2016.4]
> cycler: yes [using cycler version 0.10.0]
> tornado: yes [using tornado version 4.3]
> pyparsing: yes [using pyparsing version 2.1.5]
> libagg: yes [pkg-config information for 'libagg' could
> not
> be found. Using local copy.]
> freetype: yes [version unknown]
>
> ----------------------------------------
> Command "python setup.py egg_info" failed with error code 1 in
> /tmp/pip-build-6eka4_fr/matplotlib/
>
> What am I missing here please?
>
> Thanks,
>
> Alan
>
> PS. btw, with python 2.7.11 all went fine.
By the way does this:
python -m pip install --upgrade pip # upgrade to latest pip
pip install -f https://nipy.bic.berkeley.edu/manylinux -U matplotlib
work for you to install matplotlib 1.5.1?
Or this, to install 2.0 pre-release?
python -m pip install --upgrade pip # upgrade to latest pip
pip install -f https://nipy.bic.berkeley.edu/manylinux -U --pre matplotlib
Best,
Matthew
From: Eric F. <ef...@ha...> - 2016年06月16日 19:07:24
Attachments: Attached Message
Alan,
This mailing list is obsolete; please use mat...@py....
Your traceback looks vaguely familiar as something that has come up 
before, but I don't have any more recollection than that. Suggestions:
1) Install your python environment the easy way via anaconda or 
miniconda: https://www.continuum.io/downloads
2) If you are *sure* you don't want to do it that way, make sure you 
have the most recent version of pip.
3) Likewise, install the most recent matplotlib. See attached message.
Eric
On 2016年06月16日 6:07 AM, Alan wrote:
> Hi there,
>
> I am not the admin so I have installed my own python 3.5.1 and I am
> using pip3 to install all modules I need. I got all but matplotlib :-(
>
> pip3 install -U matplotlib
>
> Collecting matplotlib
> Using cached matplotlib-1.5.1.tar.gz
> Complete output from command python setup.py egg_info:
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File "/tmp/pip-build-6eka4_fr/matplotlib/setup.py", line 167, in
> <module>
> result = package.check()
> File "/tmp/pip-build-6eka4_fr/matplotlib/setupext.py", line 980,
> in check
> min_version='1.2', version=version)
> File "/tmp/pip-build-6eka4_fr/matplotlib/setupext.py", line 459,
> in _check_for_pkg_config
> if (not is_min_version(version, min_version)):
> File "/tmp/pip-build-6eka4_fr/matplotlib/setupext.py", line 179,
> in is_min_version
> return found_version >= expected_version
> File "/sw/arch/Test2/lib/python3.5/distutils/version.py", line 70,
> in __ge__
> c = self._cmp(other)
> File "/sw/arch/Test2/lib/python3.5/distutils/version.py", line
> 337, in _cmp
> if self.version < other.version:
> TypeError: unorderable types: str() < int()
>
> ============================================================================
> Edit setup.cfg to change the build options
>
> BUILDING MATPLOTLIB
> matplotlib: yes [1.5.1]
> python: yes [3.5.1 (default, Jun 16 2016, 11:03:02)
> [GCC
> 4.4.7 20120313 (Red Hat 4.4.7-11)]]
> platform: yes [linux]
>
> REQUIRED DEPENDENCIES AND EXTENSIONS
> numpy: yes [version 1.11.0]
> dateutil: yes [using dateutil version 2.5.3]
> pytz: yes [using pytz version 2016.4]
> cycler: yes [using cycler version 0.10.0]
> tornado: yes [using tornado version 4.3]
> pyparsing: yes [using pyparsing version 2.1.5]
> libagg: yes [pkg-config information for 'libagg'
> could not
> be found. Using local copy.]
> freetype: yes [version unknown]
>
> ----------------------------------------
> Command "python setup.py egg_info" failed with error code 1 in
> /tmp/pip-build-6eka4_fr/matplotlib/
>
> What am I missing here please?
>
> Thanks,
>
> Alan
>
> PS. btw, with python 2.7.11 all went fine.
>
From: Alan <ala...@gm...> - 2016年06月16日 16:08:04
Hi there,
I am not the admin so I have installed my own python 3.5.1 and I am using
pip3 to install all modules I need. I got all but matplotlib :-(
pip3 install -U matplotlib
 Collecting matplotlib
 Using cached matplotlib-1.5.1.tar.gz
 Complete output from command python setup.py egg_info:
 Traceback (most recent call last):
 File "<string>", line 1, in <module>
 File "/tmp/pip-build-6eka4_fr/matplotlib/setup.py", line 167, in
<module>
 result = package.check()
 File "/tmp/pip-build-6eka4_fr/matplotlib/setupext.py", line 980, in
check
 min_version='1.2', version=version)
 File "/tmp/pip-build-6eka4_fr/matplotlib/setupext.py", line 459, in
_check_for_pkg_config
 if (not is_min_version(version, min_version)):
 File "/tmp/pip-build-6eka4_fr/matplotlib/setupext.py", line 179, in
is_min_version
 return found_version >= expected_version
 File "/sw/arch/Test2/lib/python3.5/distutils/version.py", line 70, in
__ge__
 c = self._cmp(other)
 File "/sw/arch/Test2/lib/python3.5/distutils/version.py", line 337,
in _cmp
 if self.version < other.version:
 TypeError: unorderable types: str() < int()
============================================================================
 Edit setup.cfg to change the build options
 BUILDING MATPLOTLIB
 matplotlib: yes [1.5.1]
 python: yes [3.5.1 (default, Jun 16 2016, 11:03:02)
 [GCC
 4.4.7 20120313 (Red Hat 4.4.7-11)]]
 platform: yes [linux]
 REQUIRED DEPENDENCIES AND EXTENSIONS
 numpy: yes [version 1.11.0]
 dateutil: yes [using dateutil version 2.5.3]
 pytz: yes [using pytz version 2016.4]
 cycler: yes [using cycler version 0.10.0]
 tornado: yes [using tornado version 4.3]
 pyparsing: yes [using pyparsing version 2.1.5]
 libagg: yes [pkg-config information for 'libagg' could
not
 be found. Using local copy.]
 freetype: yes [version unknown]
 ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in
/tmp/pip-build-6eka4_fr/matplotlib/
What am I missing here please?
Thanks,
Alan
PS. btw, with python 2.7.11 all went fine.
From: Nelle V. <nel...@gm...> - 2016年06月07日 15:03:42
For information on Euroscipy.
Thanks,
N
---------- Forwarded message ----------
From: "Pierre de Buyl" <pie...@ch...>
Date: Jun 7, 2016 6:59 AM
Subject: Re: [SciPy-User] [Numpy-discussion] EuroSciPy 2016
To: <num...@sc...>, <sci...@sc...>
Cc:
Dear NumPy and SciPy communities,
On Tue, May 31, 2016 at 03:05:23PM +0200, Pierre de Buyl wrote:
> EuroSciPy 2016 takes place in Erlangen, Germany, from the 23 to the 27 of
August
> and consists of two days of tutorials (beginner and advanced tracks) and
two
> days of conference representing many fields of science, with a focus on
Python
> tools for science. A day of sprints follows (sprints TBA).
>
> The keynote speakers are Gaël Varoquaux and Abby Cabunoc Mayes and we can
expect
> a rich tutorial and scientific program! Videos from previous years are
available
> at
https://www.youtube.com/playlist?list=PLYx7XA2nY5GeQCCugyvtnHMVLdhYlrRxH and
> https://www.youtube.com/playlist?list=PLYx7XA2nY5Gcpabmu61kKcToLz0FapmHu
>
> Visit us, register and submit an abstract on our website!
> https://www.euroscipy.org/2016/
EuroSciPy 2016 has extended the deadline for submitting contributions! You
have
until the 19th of june to submit a talk/poster/tutorial at
https://www.euroscipy.org/2016/
SciPythonic regards,
The EuroSciPy 2016 team
_______________________________________________
SciPy-User mailing list
Sci...@sc...
https://mail.scipy.org/mailman/listinfo/scipy-user
From: Matěj T. <mat...@gm...> - 2016年06月04日 14:13:39
Attachments: borders.png
Hello,
consider a case when I want to draw a patch, but it is important how the
border is drawn. For example, if I have an aerial photo and I would like
to add a rectangle of given dimensions as a reference. Having the
rectangle interior white and its border thick and black is good, because
 it ensures that the reference will be always clearly visible,
regardless of whether the photo is dark or bright.
However, as the border is thick, it may significantly overlap with the
interior, which is highly unwanted, because it will look smaller.
Therefore, in this case, I would like to draw the border, but all of it
should be outside of the patch primary area.
And I am sure that there are use cases for the opposite situation.
TL;DR: Take a look at the attached picture to see what I have in mind -
I would like to use "outer borders" (red) or "inner borders", or
classical ones, depending on my needs.
Is there a user possibility to influence how the border is drawn? If
not, how difficult would it be to implement this in matplotlib?
From: Thomas C. <tca...@gm...> - 2016年06月01日 00:00:06
python -m pip install --upgrade pip # upgrade pip to latest
pip install --pre matplotlib
Should now work on all platforms.
Tom
On Tue, May 31, 2016 at 6:31 PM Skip Montanaro <sk...@po...> wrote:
> > A build of the docs is available at http://matplotlib.org/2.0.0b1
>
> Thanks. Is there a "What's New" page in the docs? Or maybe an upgrade
> guide which identifies incompatibilities with 1.5?
>
> Skip Montanaro
> who still remembers John Hunter's interview presentation at TradeLink,
> lo these many years ago...
>

Showing 8 results of 8

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 によって変換されたページ (->オリジナル) /