Re: [Matplotlib-users] [matplotlib-devel] License, freetype

2017-02-20 Thread Goyo
I usually install the matplotlib binaries from pipy and I don't remember doing a separate installation of freetype. 2017-02-18 17:20 GMT+01:00 Paul Hobson : > Especially on Windows, I always install freetype from conda. > -p > > On Sat, Feb 18, 2017 at 6:24 AM, CAB wrote: >> >> Hi, Gents, >> >> M

Re: [Matplotlib-users] [matplotlib-devel] License, freetype

2017-02-18 Thread Paul Hobson
Especially on Windows, I always install freetype from conda. -p On Sat, Feb 18, 2017 at 6:24 AM, CAB wrote: > Hi, Gents, > > Many thanks for your thoughtful responses! Freetype is indeed available > under a BSD-like licensse. But when I tried to install freetype on my > Windows system using th

Re: [Matplotlib-users] [matplotlib-devel] License, freetype

2017-02-18 Thread CAB
Hi, Gents, Many thanks for your thoughtful responses!  Freetype is indeed available under a BSD-like licensse.  But when I tried to install freetype on my Windows system using the binary provided from GnuWin32, it attempts to force me to accept the GPL3, which I cannot.  Freetype's link to anoth

Re: [Matplotlib-users] [matplotlib-devel] License, freetype

2017-02-17 Thread Joe Kington
Well, if Freetype were only distributed under the GPL, you couldn't distribute matplotlib in binary form without providing the source code. However, Freetype is distributed under more than one license. (see: https://www.freetype.org/license.html ) Because it's distributed under a BSD-style licen

Re: [Matplotlib-users] Matplotlib Figure margin transparancy

2016-08-05 Thread Sudheer Joseph
Dear Expert, Recently after up-gradation of matplotlib and ubuntu 16.04 I am getting transparent figure axis when using the "linux color scheme" option in ipython qtconsole. May I know if there is a way to fix this issue?. I wanted to keep black screen as it reduces eye strai

Re: [Matplotlib-users] matplotlib v2.0.0b1

2016-05-31 Thread Thomas Caswell
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 wrote: > > A build of the docs is available at http://matplotlib.org/2.0.0b1 > > Thanks. Is there a "What's New" page i

Re: [Matplotlib-users] matplotlib v2.0.0b1

2016-05-31 Thread Skip Montanaro
> 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 ag

Re: [Matplotlib-users] [Matplotlib-announce] matplotlib v2.0.0b1

2016-05-31 Thread Matthew Brett
On Mon, May 30, 2016 at 9:01 PM, Thomas Caswell wrote: > Folks, > > We tagged the first beta for v2.0.0 tonight. Please check out the new > defaults! > > This is tagged as a beta because we anticipate a longer than normal release > cycle. The style changes are substantial and we want to make sur

Re: [Matplotlib-users] [matplotlib-devel] Matplotlib style gallery

2016-03-28 Thread Tony Yu
Well... this is a *really* late reply, but I finally got around to adding easier navigation for the style gallery . I also added an update for styles added in Matplotlib 1.5 and wrote a quick post

Re: [Matplotlib-users] Matplotlib & Basemap / What is the Best Graphical Back-end for Raster Data Display (.png) ?

2016-03-03 Thread Claude Falbriard
Phone: 55-13-99662-5703 | Mobile: 55-13-98117-3316 E-mail: clau...@br.ibm.com From: Benjamin Root To: Claude Falbriard/Brazil/IBM@IBMBR Cc: Matplotlib Users Date: 03/03/2016 11:44 Subject: Re: [Matplotlib-users] Matplotlib & Basemap / What is the Best Graphical Bac

Re: [Matplotlib-users] Matplotlib & Basemap / What is the Best Graphical Back-end for Raster Data Display (.png) ?

2016-03-03 Thread Benjamin Root
AGG is used for image handling, particularly for handling transforms, scaling, interpolation and such. The AxesImage object that you get from calling imshow() is handled through the AGG library. This is true regardless of the backend being used because it is based in the AxesImage class (and others

Re: [Matplotlib-users] Matplotlib & Basemap / What is the Best Graphical Back-end for Raster Data Display (.png) ?

2016-03-03 Thread Jerzy Karczmarczuk
Le 03/03/2016 15:43, Benjamin Root a écrit : > Matplotlib will not work at all without AGG. Even the AGG-less > backends still use AGG for image handling (imshow() and such). Is it so? I never found such strong statement in the docs. 1. SVG backend produces vector graphics, no rasterisation in p

Re: [Matplotlib-users] Matplotlib & Basemap / What is the Best Graphical Back-end for Raster Data Display (.png) ?

2016-03-03 Thread Benjamin Root
Matplotlib will not work at all without AGG. Even the AGG-less backends still use AGG for image handling (imshow() and such). We can not guarantee that matplotlib would work with agg 2.5, as that is the GPL'ed version. We develop against a patched 2.4 branch of AGG (which is BSD-licensed), which i

Re: [Matplotlib-users] Matplotlib 1.5.1 - Function pcolormesh throws Segmentation Fault / faulthandler traceback info

2016-02-24 Thread Claude Falbriard
uot;, line 688 in savefig File "test3.py", line 47 in Segmentation fault Hope this information helps to circle the issue. Regards, Claude Falbriard Certified IT Specialist L2 - Middleware Phone: 55-13-99662-5703 | Mobile: 55-13-98117-3316 E-mail: clau...@br.ibm.com From: Benj

Re: [Matplotlib-users] Matplotlib 1.5.1 - Function pcolormesh throws Segmentation Fault

2016-02-24 Thread Benjamin Root
Sorry, forgot to post the link: https://pypi.python.org/pypi/faulthandler/ On Wed, Feb 24, 2016 at 3:33 PM, Benjamin Root wrote: > Could you try using faulthandler and post the traceback please? That'll > help us isolate the problem better. > > Ben Root > > On Wed, Feb 24, 2016 at 3:04 PM, Claud

Re: [Matplotlib-users] Matplotlib 1.5.1 - Function pcolormesh throws Segmentation Fault

2016-02-24 Thread Benjamin Root
Could you try using faulthandler and post the traceback please? That'll help us isolate the problem better. Ben Root On Wed, Feb 24, 2016 at 3:04 PM, Claude Falbriard wrote: > Dear colleagues, > > I've done a build from source of latest *Matplotlib* package and > deployed it at our IBM z13 mac

Re: [Matplotlib-users] Matplotlib vers. 1.5.0 warnings

2015-12-17 Thread Joshua Klein
You can use the warnings module from the Python standard Library. import warnings warnings.filterwarnings(action='ignore') This will silence all Python warnings. The signature for warnings.filterwarnings can also be used to onl

Re: [Matplotlib-users] Matplotlib Curve Overlapping with Animated plot

2015-09-09 Thread Benjamin Root
Thales, Sorry for the delay in responding. This mailing list has actually moved to https://mail.python.org/mailman/listinfo/matplotlib-users Let's start up a new thread there with this information, plus also which version of matplotlib you are using and which backend. Cheers! Ben Root On Wed,

Re: [Matplotlib-users] [matplotlib-devel] IMPORTANT: Mailing lists are moving

2015-07-31 Thread Benjamin Root
nabble is also another fairly commonly used resource for viewing archived discussions. On Fri, Jul 31, 2015 at 2:14 PM, Jouni K. Seppänen wrote: > Neal Becker writes: > > > I read via gmane: I guess this will need to be updated? > > I attempted to send a message to gmane.discuss to request this

Re: [Matplotlib-users] Matplotlib differences MacOSXAgg and others

2015-07-15 Thread John Coppens
On Wed, 15 Jul 2015 07:19:53 -1000 Eric Firing wrote: > John, if you haven't already done so, please escalate this to a github > issue. Will do... Cheers, John -- Don't Limit Your Business. Reach for the Cloud. GigeNE

Re: [Matplotlib-users] Matplotlib differences MacOSXAgg and others

2015-07-15 Thread Eric Firing
It is not clear to me that 4202 would fix it, and I think 4202 has a basic problem of its own. John, if you haven't already done so, please escalate this to a github issue. Eric On 2015/07/15 4:58 AM, Thomas Caswell wrote: > The PR to fix this is still open > (https://github.com/matplotlib/mat

Re: [Matplotlib-users] Matplotlib differences MacOSXAgg and others

2015-07-15 Thread Thomas Caswell
The PR to fix this is still open ( https://github.com/matplotlib/matplotlib/pull/4202). Tom On Wed, Jul 15, 2015 at 10:29 AM John Coppens wrote: > Hello again, > > I've posted these two issues in separate mails, as I suspect they're > actually different problems. > > This error is particular to

Re: [Matplotlib-users] Matplotlib differences MacOSXAgg and others

2015-07-15 Thread Benjamin Root
We have been recently fixing a bunch of issues in the macosx backend (which is default on Macs). Having the circle be dotted sounds exactly like the sort of problem that would be caused by some of the bugs we are addressing. I think we have some of the fixes committed to the master branch, so if yo

Re: [Matplotlib-users] Matplotlib 1.4.3 Agg problem

2015-07-15 Thread Thomas Caswell
The Agg backend is a non-gui backend, it just saves to file. The `TkAgg` and `GtkAgg` are gui backends (which are more of front ends, but I digress) which show the output of Agg in a gui window (and provide a layer for handling user interaction). I suspect that how ever your 1.3.1 was installed t

Re: [Matplotlib-users] Matplotlib 1.4.3 Agg problem

2015-07-15 Thread Benjamin Root
If your backend is set to Agg, then no interactive window will appear upon call to show(). Agg is intended for headless servers. What might be happening is that somewhere, you have Agg set as the default backend. Ben Root On Wed, Jul 15, 2015 at 10:16 AM, John Coppens wrote: > Hello all. > > I

Re: [Matplotlib-users] [matplotlib-devel] pyplot functions: do you rely on the "hold" kwarg?

2015-06-19 Thread Nathaniel Smith
On Sun, Jun 7, 2015 at 2:37 PM, Eric Firing wrote: > Matplotlib's pyplot retains quite a few vestiges from its original > Matlab-workalike heritage; we would like to gradually eliminate those > that no longer make sense. One such candidate is the "hold" kwarg that > every pyplot function has, wit

Re: [Matplotlib-users] [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-08 Thread Sourish Basu
On 06/05/2015 03:57 PM, Joe Kington wrote: Not to plug one of my own answers to much, but here's a basic example. http://stackoverflow.com/questions/20144529/shifted-colorbar-matplotlib I've been meeting to submit a PR with a more full feature

Re: [Matplotlib-users] matplotlib documentation from python notebook?

2015-06-08 Thread Jody Klymak
Hi Ben, My idea was to just make the notebook the “example”. But nbconvert-ing the notebook makes static images that then need to be checked into the repository, and take space, so I wasn’t sure how desirable that was. It would be fun to have the documentation script accept ipython notebooks

Re: [Matplotlib-users] matplotlib documentation from python notebook?

2015-06-08 Thread Benjamin Root
No, there isn't an accepted way to do that AFAIK. However, it doesn't seem like it is all that far off. Our doc-build process will create the images from the examples automatically, so you don't need to include the image tag. It is sort of a way to make sure the examples work and that the image mat

Re: [Matplotlib-users] [matplotlib-devel] pyplot functions: do you rely on the "hold" kwarg?

2015-06-07 Thread Eric Firing
On 2015/06/07 12:05 PM, Nathaniel Smith wrote: > On Sun, Jun 7, 2015 at 2:37 PM, Eric Firing wrote: >> Matplotlib's pyplot retains quite a few vestiges from its original >> Matlab-workalike heritage; we would like to gradually eliminate those >> that no longer make sense. One such candidate is th

Re: [Matplotlib-users] Matplotlib import Error

2015-06-07 Thread Bryan Williams
If you have pip installed, installing six is simple: pip install six Hope that helps! :) On 6/7/2015 3:57 PM, aureta wrote: > Hi, I had Matplotlib installed and working in my PC. I decided to uninstall > it using the control panel software uninstall option and install it again. > This time whe

Re: [Matplotlib-users] [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-06 Thread Joe Kington
> Guess I'll be closing this: > https://github.com/matplotlib/matplotlib/pull/3858 > -paul Nice PR! That does a heck of a lot better job than my (way too simplistic) example. > On Fri, Jun 5, 2015 at 10:05 PM, Jody Klymak wrote: > Hi Eric, > > OK, how about an example based on the following note

Re: [Matplotlib-users] MatplotLib Import Error Message

2015-06-06 Thread Bryan M. Williams
Reinstall pyparsing. It's another module just like matplotlib. If you have pip, you can just do "pip install pyparsing." Sent from my iPad > On Jun 6, 2015, at 6:23 PM, aureta wrote: > > Hi, I had Matplotlib installed and working in my PC. I decided to uninstall > it using the control panel so

Re: [Matplotlib-users] [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-05 Thread Jody Klymak
Hi Eric, OK, how about an example based on the following notebook: http://nbviewer.ipython.org/url/web.uvic.ca/~jklymak/matplotlib/MatplotlibNormExamples.ipynb It includes Joe’s example of a non-linear midpoint. Cheers, Jody > On Jun 5, 2015, at 14:26 PM, Eric Firing wrote: > > On 2015/06

Re: [Matplotlib-users] [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-05 Thread Paul Hobson
Dang it, Joe, How do you do everything l try to do like 1000x better? Guess I'll be closing this: https://github.com/matplotlib/matplotlib/pull/3858 -paul On Fri, Jun 5, 2015 at 2:57 PM, Joe Kington wrote: > Not to plug one of my own answers to much, but here's a basic example. > http://stack

Re: [Matplotlib-users] [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-05 Thread Joe Kington
Not to plug one of my own answers to much, but here's a basic example. http://stackoverflow.com/questions/20144529/shifted-colorbar-matplotlib I've been meeting to submit a PR with a more full featured version for a few years now, but haven't. On Jun 5, 2015 4:45 PM, "Sourish Basu" wrote: > On

Re: [Matplotlib-users] [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-05 Thread Sourish Basu
On 06/05/2015 01:20 PM, Eric Firing wrote: Reminder: in matplotlib, color mapping is done with the combination of a colormap and a norm. This allows one to design a norm to handle the mapping, including any nonlinearity or difference between the handling of pos

Re: [Matplotlib-users] [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-05 Thread Eric Firing
On 2015/06/05 11:13 AM, Jody Klymak wrote: > Though I was hazily aware of norms, I’d not really seen that before. > I particularly like the example > athttp://matplotlib.org/examples/pylab_examples/pcolor_log.html > > This seems useful enough that a section under “User Guide:Advanced > Guide” would

Re: [Matplotlib-users] [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-05 Thread Jody Klymak
Hi Eric, > On 5 Jun 2015, at 12:20 PM, Eric Firing wrote: > > Reminder: in matplotlib, color mapping is done with the combination of a > colormap and a norm. This allows one to design a norm to handle the > mapping, including any nonlinearity or difference between the handling > of positive

Re: [Matplotlib-users] [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-05 Thread Benjamin Root
Furthermore, I think there is some work being done to add functionality to the Norm to allow specifying a middle value along with a vmin and a vmax. Ben Root On Fri, Jun 5, 2015 at 3:20 PM, Eric Firing wrote: > On 2015/06/05 8:17 AM, Sourish Basu wrote: > > Very often the "zero" of an anomaly i

Re: [Matplotlib-users] [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-05 Thread Eric Firing
On 2015/06/05 8:17 AM, Sourish Basu wrote: > Very often the "zero" of an anomaly is not at the center of the extrema, > and requires creating a custom diverging colormap anyway (see attached > example). Reminder: in matplotlib, color mapping is done with the combination of a colormap and a norm.

Re: [Matplotlib-users] [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-05 Thread Jody Klymak
> On 5 Jun 2015, at 11:39 AM, Sourish Basu wrote: > > This problem is reasonably common for me, BTW. I can have a carbon monoxide > field with an average/background of 60 ppb, but variations from 30 to 550 > ppb. So I need a color scale which (a) is white at 60, and (b) shows small > variati

Re: [Matplotlib-users] [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-05 Thread Sourish Basu
On 06/05/2015 12:22 PM, Jody Klymak wrote: Hi, On 5 Jun 2015, at  11:17 AM, Sourish Basu wrote: On 06/05/2015

Re: [Matplotlib-users] [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-05 Thread Jody Klymak
Hi, > On 5 Jun 2015, at 11:17 AM, Sourish Basu wrote: > > On 06/05/2015 10:17 AM, Jody Klymak wrote: >> Anyways, I guess I am advocating trying to find a colormap with a very >> obvious central hue to represent zero. Anomaly data sets are *very* common, >> so having a default colormap that d

Re: [Matplotlib-users] [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-05 Thread Jody Klymak
> On 5 Jun 2015, at 9:27 AM, Thomas Caswell wrote: > > Jody, > > This has come up before and the consensus seemed to be that for the anomaly > data sets knowing where the zero is is very important and the default color > limits will probably get that wrong. So long as the user has to set th

Re: [Matplotlib-users] [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-05 Thread Thomas Caswell
Jody, This has come up before and the consensus seemed to be that for the anomaly data sets knowing where the zero is is very important and the default color limits will probably get that wrong. So long as the user has to set the limits, they can also select one of the diverging color maps. I al

Re: [Matplotlib-users] [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-05 Thread Paul Hobson
On Fri, Jun 5, 2015 at 9:17 AM, Jody Klymak wrote: > > > Anyways, I guess I am advocating trying to find a colormap with a very > obvious central hue to represent zero. Anomaly data sets are *very* > common, so having a default colormap that doesn’t do something reasonable > with them may be a t

Re: [Matplotlib-users] [matplotlib-devel] RFC: candidates for a new default colormap

2015-06-05 Thread Jody Klymak
Hi, This is a great initiative, I love colormaps and am always disatisfied. However, I am concerned about these proposed defaults. As Ben says, there are two types of data sets: “intensity” or “density” data, and data sets with a natural zero (i.e. positive or negative anomaly or velocity). I

Re: [Matplotlib-users] [matplotlib-devel] Easy problem working with dev library

2015-05-16 Thread Eric Firing
On 2015/05/16 3:20 PM, Paul Hobson wrote: > > On Saturday, May 16, 2015 at 14:58, Neil Girdhar >, wrote: > > Thanks, and if I want to revert my system to its old matplotlib? > > ​ > ​ > ​Assuming you cloned the repo from git, just checkout any revision you want.

Re: [Matplotlib-users] [matplotlib-devel] Easy problem working with dev library

2015-05-16 Thread Paul Hobson
On Saturday, May 16, 2015 at 14:58, Neil Girdhar , wrote: Thanks, and if I want to revert my system to its old matplotlib? ​ ​ ​Assuming you cloned the repo from git, just checkout any revision you want. ​ If didn't clone from git, just reinstall matplotlib anyway you want. 

Re: [Matplotlib-users] `matplotlib`: `self._chachedRenderer` fails `assert self._cachedRenderer is not None`, when calling `draw_artist` on a patch?

2015-05-16 Thread bmer
Sorry Tom -- I missed your message, it seems. I suppose I'll leave the SO link for now because I got an answer which I accepted. In the future, I'll post the question here itself. -- View this message in context: http://matplotlib.1069221.n5.nabble.com/matplotlib-self-chachedRenderer-fails-asse

Re: [Matplotlib-users] `matplotlib`: `self._chachedRenderer` fails `assert self._cachedRenderer is not None`, when calling `draw_artist` on a patch?

2015-05-10 Thread Thomas Caswell
Please include the contents of the SO question here. Those links are very likely to rot due to over aggressive moderation on SO. Tom On Sun, May 10, 2015 at 1:49 PM bmer wrote: > Hi all, > > I wrote up my question in detail on StackOverflow. > < > http://stackoverflow.com/questions/30154473/m

Re: [Matplotlib-users] [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with python3

2015-04-02 Thread Jens Nielsen
I have opened a Pull request ( https://github.com/matplotlib/matplotlib/pull/4305) to improve the error message and avoid the comparison between a string and version number. ons. 1. apr. 2015 kl. 18.05 skrev Christian Ambros : > Hi, > > I installed the libfreetype6-dev package and than re-start

Re: [Matplotlib-users] [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with python3

2015-04-01 Thread Thomas Caswell
There were multiple PRs that toched the freetype handling (iirc from Jens and Tony Yu), but I don't remember if either got mreged off the top of my head. On Wed, Apr 1, 2015 at 12:55 PM Benjamin Root wrote: > Didn't we fix that in trunk recently? > > On Wed, Apr 1, 2015 at 12:51 PM, Jens Nielsen

Re: [Matplotlib-users] [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with python3

2015-04-01 Thread Christian Ambros
Hi, I installed the libfreetype6-dev package and than re-started the upgrade process with sudo pip3 install matplotlib --upgrade, which took a while but finally was successful.It seems to be all right now. Thanks for the hint with freetype. That helped a lot. cheers, Christian -- "A little le

Re: [Matplotlib-users] [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with python3

2015-04-01 Thread Benjamin Root
Didn't we fix that in trunk recently? On Wed, Apr 1, 2015 at 12:51 PM, Jens Nielsen wrote: > Looking more closely at this I think it is a bug on our side. When > freetype is not found it returns version as 'Failed to identify version.' > which > it tries to compare to a version number. The vers

Re: [Matplotlib-users] [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with python3

2015-04-01 Thread Benjamin Root
Yeah, that mirrors what others have stated. The common thread seems to be that all of these users were comfortable with doing "sudo pip install " (myself included). I was in a rush when I originally encountered issues back in the summer on my 12.04 machine, so I just switched to miniconda and didn'

Re: [Matplotlib-users] [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with python3

2015-04-01 Thread Jens Nielsen
Looking more closely at this I think it is a bug on our side. When freetype is not found it returns version as 'Failed to identify version.' which it tries to compare to a version number. The version number is correctly converted from string to numbers using loosversion but this string just makes i

Re: [Matplotlib-users] [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with python3

2015-04-01 Thread Christian Ambros
Hi, as you can see: 14.3.1 which is the latest, because before I started upgrading, I read about possible issues here and upgraded the setuptools as conclusion. Python 3.4.0 (default, Apr 11 2014, 13:05:11) [GCC 4.8.2] on linux Type "help", "copyright", "credits" or "license" for more information

Re: [Matplotlib-users] [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with python3

2015-04-01 Thread Benjamin Root
Good point. At least put up a decent message to help users understand what is wrong. On Wed, Apr 1, 2015 at 9:57 AM, Thomas Caswell wrote: > Independent of what exactly is going wrong, the issue is that it _isn't_ > finding the right version of freetype and iirc LooseVersion is handling the > 'n

Re: [Matplotlib-users] [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with python3

2015-04-01 Thread Thomas Caswell
Independent of what exactly is going wrong, the issue is that it _isn't_ finding the right version of freetype and iirc LooseVersion is handling the 'not found' return code badly. This is coming up often enough we probably do need to special case this check with a try/except. On Wed, Apr 1, 2015

Re: [Matplotlib-users] [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with python3

2015-04-01 Thread Benjamin Root
Actually, look at the traceback... it is using distutils' version.py. That's weird. Is that a result of setuptools monkey-patching? On Wed, Apr 1, 2015 at 9:25 AM, Jens Nielsen wrote: > I think we have seen this issue before and it seems to be caused by an out > of date version of setuptools. I

Re: [Matplotlib-users] [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with python3

2015-04-01 Thread Jens Nielsen
I think we have seen this issue before and it seems to be caused by an out of date version of setuptools. I tried reproducing it on fresh ubuntu 14.04 machine but was not able to reproduce the issue. Do you know which version of setuptools you are using? Jens ons. 1. apr. 2015 kl. 14.19 skrev Tho

Re: [Matplotlib-users] [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with python3

2015-04-01 Thread Thomas Caswell
Make sure you have `freetype-dev` installed at the system level. Tom On Wed, Apr 1, 2015 at 8:02 AM Christian Ambros wrote: > Hi, > > I'm facing the same trouble with installing matplotlib 1.4.3 and 1.5.dev1. > running > > python3 setup.py build > > in the unarchived directory gives this: >

Re: [Matplotlib-users] matplotlib basemap streamlines plot

2015-03-30 Thread Jody Klymak
Hi, If your flow is actually non-divergent, so that continuous streamlines make sense, you could contour the streamfunction: a decent approximation should be psi = 0.5*( cumsum(u*dy[:,newaxis],axis=1)-cumsum(v*dx[newaxis,:],axis=0)) Of course this won’t work so well if u and v are coarsely space

Re: [Matplotlib-users] matplotlib basemap streamlines plot

2015-03-30 Thread Tony Yu
On Mon, Mar 30, 2015 at 2:15 PM, Foehn wrote: > Am 2015-03-27 um 15:01 schrieb Sappy85: > > Hi all, > > > > tried to plot a streamline with matplotlib. So far it work's. > > But my question: Is there a possibility to avoid the gaps in the > streamlines > > (see my picture)? > I think the problem

Re: [Matplotlib-users] matplotlib basemap streamlines plot

2015-03-30 Thread Foehn
Am 2015-03-27 um 15:01 schrieb Sappy85: > Hi all, > > tried to plot a streamline with matplotlib. So far it work's. > But my question: Is there a possibility to avoid the gaps in the streamlines > (see my picture)? > > Are you sure

Re: [Matplotlib-users] [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with python3

2015-03-18 Thread Benjamin Root
"please don't do that" Yes, I will make sure that any antagonizing I do in the future, it will be completely clear that I am the one doing it. ;-) On Wed, Mar 18, 2015 at 2:04 PM, Thomas Caswell wrote: > Hmm, I can't read and miss-attributed who was antagonizing Sandro, please > don't do that.

Re: [Matplotlib-users] [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with python3

2015-03-18 Thread Thomas Caswell
Hmm, I can't read and miss-attributed who was antagonizing Sandro, please don't do that. On Wed, Mar 18, 2015 at 2:01 PM Benjamin Root wrote: > For my part, I didn't take Keith's comment as antagonizing. If anything, I > should apologize to Sandro. It was not necessary for me to drag Debian into

Re: [Matplotlib-users] [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with python3

2015-03-18 Thread Benjamin Root
For my part, I didn't take Keith's comment as antagonizing. If anything, I should apologize to Sandro. It was not necessary for me to drag Debian into this, because all I know is that I was having issues on Ubuntu. Ben Root On Wed, Mar 18, 2015 at 1:51 PM, Thomas Caswell wrote: > We do support

Re: [Matplotlib-users] [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with python3

2015-03-18 Thread Thomas Caswell
We do support ubuntu, travis.ci (which we use for continuous integration testing) is ubuntu based and my main development box is ubuntu (but I mostly work inside conda environments rather than virtualenvs these days). Even though it is the worst thing for a dev to say, 'it works on my machine'. Pa

Re: [Matplotlib-users] [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with python3

2015-03-18 Thread Benjamin Root
We would too. This is the first time I have seen updating setuptools not work. That was the fix... I have no clue why it is broken on your system. On Wed, Mar 18, 2015 at 1:20 PM, wrote: > Ok, I will check out anaconda anyway. > > > > I would think that the matplotlib maintainers would want to m

Re: [Matplotlib-users] [matplotlib-devel] 1.4.3 does not build on Ubuntu 14 with python3

2015-03-18 Thread Benjamin Root
One thing I just noticed is that python3.4 and the distutils libraries are installed at /usr/lib/python3.4/distutils/, but the setuptools is located at /usr/local/lib/python3.4/dist-packages/. One of the oddities of setuptools is that it monkey-patches distutils, if I understand it correctly, so pe

Re: [Matplotlib-users] Matplotlib for Grotrian Diagrams

2015-03-16 Thread Marin GILLES
Le 14/03/2015 20:17, Amol Agrawal a écrit : Hello all, I am trying to make Grotrian diagrams using matplotlib. For those who don't know about grotrian diagrams here's the link(http://en.wikipedia.org/wiki/Grotrian_diagram) They essentially depict transitions between different energy levels of

Re: [Matplotlib-users] [matplotlib-devel] matplotlib v1.4.3

2015-02-17 Thread Ryan Nelson
Tom and other devs, Thanks for all the hard work! Looking forward to making the upgrade. Just curious if there is a detailed roadmap for v2 and beyond. I feel like there have been some rumors that the get/set architecture will be deprecated at some point. Ryan On Tue, Feb 17, 2015 at 4:30 AM, N

Re: [Matplotlib-users] [matplotlib-devel] matplotlib v1.4.3

2015-02-17 Thread Nelle Varoquaux
Thanks again Thomas for the release ! Cheers, N On 17 February 2015 at 06:09, Thomas Caswell wrote: > Hello all, > > We are pleased to announce the release of matplotlib v1.4.3! > > Wheels, windows binaries and the source tarball are available through both > source-forge [1] and pypi (via pip).

Re: [Matplotlib-users] [matplotlib-devel] Capitalization of Matplotlib

2015-02-16 Thread Matthew Brett
Hi, On Mon, Feb 16, 2015 at 1:26 PM, Paul Kuin wrote: > Ah, since it is a proper name it should be capitalised, but it never was. I > think that it should remain uncapitalised and that you want to propose an > alternative, like a change in type for the proper name matplotlib. Could be > typescri

Re: [Matplotlib-users] [matplotlib-devel] Capitalization of Matplotlib

2015-02-16 Thread Paul Kuin
Ah, since it is a proper name it should be capitalised, but it never was. I think that it should remain uncapitalised and that you want to propose an alternative, like a change in type for the proper name matplotlib. Could be typescript, or something else. Paul On Mon, Feb 16, 2015 at 6:23 PM, Ne

Re: [Matplotlib-users] [matplotlib-devel] Capitalization of Matplotlib

2015-02-16 Thread Nelle Varoquaux
IMO, never. On 16 February 2015 at 19:16, Benjamin Root wrote: > I am in the final rounds of edits for my book and a question has come up > between me and the editors. When should the matplotlib be capitalized? > > 1) never > 2) mostly never (even in the beginning of a sentence), except when used

Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-12 Thread Sandro Tosi
On Mon, Feb 9, 2015 at 1:00 AM, Thomas Caswell wrote: > Sorry about the bad tarball, I forgot to clean my git directory before > generating it. Another point in favor of using the gh tarball, I can't > screw it up. I switch to GH tarball, but I must say they are a lot different than the SF ones

Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-08 Thread Thomas Caswell
Sorry about the bad tarball, I forgot to clean my git directory before generating it. Another point in favor of using the gh tarball, I can't screw it up. This is the first I have seen that CVE. That PR is not included in 1.4.3 because it completely over-hauls how the Agg rendering works (and ge

Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-08 Thread Benjamin Root
Please ignore my test failure report. I was accidentally running an older install of matplotlib from the same branch. Ben Root On Sat, Feb 7, 2015 at 9:08 PM, Benjamin Root wrote: > I am getting some test failures here and on master in the collections > module. > > =

Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-08 Thread Sandro Tosi
Hi, On Sat, Feb 7, 2015 at 9:46 PM, Thomas Caswell wrote: > Sandro, > > Well, creating the tarball on GH is a lot easier for us as it happens > automatically! I don't want to unilaterally change policy so I will create > the files on SF. the release tarball contains __pycache__ directories and

Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-08 Thread Sandro Tosi
On Sat, Feb 7, 2015 at 9:46 PM, Thomas Caswell wrote: > Well, creating the tarball on GH is a lot easier for us as it happens > automatically! I don't want to unilaterally change policy so I will create > the files on SF. > > If you want to tracking GH for debian instead of SF I don't think that

Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-07 Thread Benjamin Root
I am getting some test failures here and on master in the collections module. == FAIL: __main__.test_regularpolycollection_rotate.test -- Traceback (most recent c

Re: [Matplotlib-users] Matplotlib backend nbagg does not show figure in iPython Notebook

2015-02-07 Thread FJ
Upgrading matlplotlib to the git head version  worked perfectly. Thanks ! From: Thomas Caswell To: Benjamin Root Cc: FJ ; Matplotlib Users Sent: Saturday, February 7, 2015 4:25 PM Subject: Re: [Matplotlib-users] Matplotlib backend nbagg does not show figure in iPython Notebook

Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-07 Thread Thomas Caswell
Sandro, Well, creating the tarball on GH is a lot easier for us as it happens automatically! I don't want to unilaterally change policy so I will create the files on SF. If you want to tracking GH for debian instead of SF I don't think that would be a bad idea, but I don't know how much of a has

Re: [Matplotlib-users] Matplotlib backend nbagg does not show figure in iPython Notebook

2015-02-07 Thread Thomas Caswell
t; ipython notebook --ip 0.0.0.0 >>>> >>>> I've tried this both inside and out of a virtualenv virtual >>>> environment with same results. >>>> >>>> thanks. >>>> >>>> -- >>&

Re: [Matplotlib-users] Matplotlib backend nbagg does not show figure in iPython Notebook

2015-02-07 Thread Benjamin Root
start the notebook with : >>> >>> ipython notebook --ip 0.0.0.0 >>> >>> I've tried this both inside and out of a virtualenv virtual environment >>> with same results. >>> >>> thanks. >>> >>> --

Re: [Matplotlib-users] Matplotlib backend nbagg does not show figure in iPython Notebook

2015-02-07 Thread Thomas Caswell
; with same results. >> >> thanks. >> >> -- >> *From:* Benjamin Root >> *To:* fjanoos >> *Cc:* Matplotlib Users >> *Sent:* Saturday, February 7, 2015 9:24 AM >> *Subject:* Re: [Matplotlib-users] Matplotlib bac

Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-07 Thread Sandro Tosi
On Sat, Feb 7, 2015 at 9:05 PM, Thomas Caswell wrote: > Sandro, > > Can you use the tarball from github > (https://github.com/matplotlib/matplotlib/archive/v1.4.3rc1.tar.gz ?) Sure I can, but since all the previous release (even RC) were done one SF, we have our tools to monitor and download new

Re: [Matplotlib-users] Matplotlib backend nbagg does not show figure in iPython Notebook

2015-02-07 Thread Benjamin Root
both inside and out of a virtualenv virtual environment > with same results. > > thanks. > > -- > *From:* Benjamin Root > *To:* fjanoos > *Cc:* Matplotlib Users > *Sent:* Saturday, February 7, 2015 9:24 AM > *Subject:* Re: [Matplotlib-users] M

Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-07 Thread Thomas Caswell
Sandro, Can you use the tarball from github ( https://github.com/matplotlib/matplotlib/archive/v1.4.3rc1.tar.gz ?) Tom On Sat Feb 07 2015 at 4:01:01 PM Sandro Tosi wrote: > Hi Thomas, > > On Mon, Feb 2, 2015 at 5:37 AM, Thomas Caswell wrote: > > Evening all, > > > > I have tagged the first re

Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-07 Thread Sandro Tosi
Hi Thomas, On Mon, Feb 2, 2015 at 5:37 AM, Thomas Caswell wrote: > Evening all, > > I have tagged the first release candidate for v1.4.3 > (https://github.com/matplotlib/matplotlib/releases/tag/v1.4.3rc1). ... > Please kick the tires and give it a try! If there are no major issues, the > plan is

Re: [Matplotlib-users] Matplotlib backend nbagg does not show figure in iPython Notebook

2015-02-07 Thread Benjamin Root
How did you start ipython? On Sat, Feb 7, 2015 at 2:27 AM, fjanoos wrote: > hi Benjamin > > This sequence in a new notebook: > > %matplotlib nbagg > import matplotlib as mpl > import matplotlib.pyplot as plt > plt.plot(range(100)) > > also results in exactly the same result - the figure placehol

Re: [Matplotlib-users] Matplotlib backend nbagg does not show figure in iPython Notebook

2015-02-06 Thread fjanoos
hi Benjamin This sequence in a new notebook: %matplotlib nbaggimport matplotlib as mpl import matplotlib.pyplot as pltplt.plot(range(100)) also results in exactly the same result - the figure placeholder (not sure what the exact term is) but no figure inside it. Regards. From: Benjamin

Re: [Matplotlib-users] Matplotlib backend nbagg does not show figure in iPython Notebook

2015-02-05 Thread Benjamin Root
Selecting a backend must be first before any other matplotlib actions. Typically, ipython magics (the %matplotlib commands) are kept at the top anyway. I hope that clears it up. Ben Root On Feb 5, 2015 5:22 PM, "fjanoos" wrote: > Hello, > > I'm running the following configuration > Python 2.7.6

Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-05 Thread Phil Elson
Awesome work! Full credit to Tom who has driven this release. The nbagg backend is looking great - some pretty swish new features thanks to hard work from Steven Silvester and Thomas Caswell! On 2 February 2015 at 10:58, Jens Nielsen wrote: > Thanks Tom, > > I ran the test suite on OSX 10.10 wi

Re: [Matplotlib-users] [matplotlib-devel] v1.4.3rc1

2015-02-02 Thread Matthew Brett
Hi, On Mon, Feb 2, 2015 at 2:58 AM, Jens Nielsen wrote: > Thanks Tom, > > I ran the test suite on OSX 10.10 with both python 2.7.8 and 3.4.2 including > the tex and QT4 tests that are skipped on Travis. > Everything passes as expected. I built wheels for OSX testing, via the automated travis bui

Re: [Matplotlib-users] matplotlib finance

2015-01-31 Thread Marcel Milcent
Even deprecated, mpl.finance can do some of the things you need. Check these tutotials, and others, here: https://www.youtube.com/playlist?list=PLQVvvaa0QuDc2QjQOkZ4rtLYZVll_sZFZ There is also something about live stream and memory usage concern with matplotlib when reloading the charts, somewhere

  1   2   3   4   5   6   7   8   9   10   >