[Matplotlib-users] Matplotlib live plot MatplotlibDeprecationWarning: Using default event loop

2017-10-26 Thread Gittelman, Max
Hello, I'm working to create a live plot by taking in data via a server and then plotting in a 3d scatterplot. I have a well thought out explanation (took a couple hours to produce) that I posted a few minutes ago on stack overflow. https://stackoverflow.com/questions/46964474/matplotlib-live

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
h I'd > rather not do because I have Python already installed. > > If you have any other ideas, I'd be happy to hear them. > > Best, > Chad > > > -- > *From:* Joe Kington > *To:* Paul Hobson > *Cc:* CAB ; Matplotlib Dev

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

[Matplotlib-users] matplotlib v2.0.0b1

2016-05-30 Thread Thomas Caswell
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 sure that we have not crippled any common use cases. The target for th

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

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

2016-03-03 Thread Claude Falbriard
Dear colleagues, I like to receive an advice about the best back-end choice for Matplotlib & Basemap to generate large .png images in a background processing mode. Having issues with the pre-compiled "Agg" package which does not work under my machine architecture. Also not able to recompile th

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

2016-02-24 Thread Claude Falbriard
amin Root To: Claude Falbriard/Brazil/IBM@IBMBR Cc: Matplotlib Users Date: 24/02/2016 17:35 Subject:Re: [Matplotlib-users] Matplotlib 1.5.1 - Function pcolormesh throws Segmentation Fault Sorry, forgot to post the link: https://pypi.python.org/pypi/faulthandler/ On Wed, Feb 2

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

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

2016-02-24 Thread Claude Falbriard
Dear colleagues, I've done a build from source of latest Matplotlib package and deployed it at our IBM z13 machine (s390x). It uses the current release 1.5.1. During the unit tests I found an issue with a test case from NOAA which uses a pcolormesh draw function with basemap. Example 2: Plot

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

2015-12-17 Thread Joshua Klein
> How can I keep these messages from being displayed (at least temporarily)? > > --V > > > > -- > ___ > Matplotlib-users mailin

[Matplotlib-users] Matplotlib vers. 1.5.0 warnings

2015-12-17 Thread Virgil Stokes
I recently upgraded to vers. 1.5.0 and I am now getting some warning messages. For example: D:\Python27\lib\site-packages\matplotlib\backend_managers.py:62: UserWarning: Treat the new Tool classes introduced in v1.5 as experimental for now, the API will likely change in version 2.1 and perhaps

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,

[Matplotlib-users] Matplotlib Curve Overlapping with Animated plot

2015-08-26 Thread Thales Maia
Hello, I am migrating from octave to python and found matplotlib as an useful and powerful resource. I played with many animations examples and tried to build my own. The objective is to build a live plot from data coming from an arduino. The serial is working perfect (I can receive and plot data

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

[Matplotlib-users] Matplotlib differences MacOSXAgg and others

2015-07-15 Thread John Coppens
Hello again, I've posted these two issues in separate mails, as I suspect they're actually different problems. This error is particular to the default version of MacOSX's matplotlib version 1.4.3: When doing a simple plot: import matplotlib.pyplot as plt def test_plot(): x = range(11)

[Matplotlib-users] Matplotlib 1.4.3 Agg problem

2015-07-15 Thread John Coppens
Hello all. I had MatPlotLib 1.3.1 installed, and decided to upgrade to 1.4.3. I compiled the .tar.gz package, which went without a hitch (except for a number of warnings from gcc). Installation also completed without problems. But, on running the same simple plot I was working on, no plot was ou

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
; > Thanks, Jody > > -- > Jody Klymak > http://web.uvic.ca/~jklymak/ > > > > > > > > -- > ___ > Matplotlib-users mai

[Matplotlib-users] matplotlib documentation from python notebook?

2015-06-08 Thread Jody Klymak
Hi all, If I want to contribute *.rst files to the matplotlib documentation, I can see a few styles already contributed, at least one of which makes extensive use of ipython (http://matplotlib.org/users/image_tutorial.html). However, even it makes use of `.. sourcecode:: python` and `.. plot::

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
p://matplotlib.1069221.n5.nabble.com/Matplotlib-import-Error-tp45741.html > Sent from the matplotlib - users mailing list archive at Nabble.com. > > -- > _______ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-

[Matplotlib-users] MatplotLib Import Error

2015-06-07 Thread aureta
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 when I run the VIDLE using the import matplot.pyplot as plt sentence I get the following message: Python 2.7.10 (default, May 23 2015

[Matplotlib-users] Matplotlib import Error

2015-06-07 Thread aureta
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 when I run the VIDLE using the import matplot.pyplot as plt sentence I get the following message: Python 2.7.10 (default, May 23 2015,

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
------ > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users --

[Matplotlib-users] MatplotLib Import Error Message

2015-06-06 Thread aureta
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 when I run the VIDLE using the import matplot.pyplot as plt sentence I get the following message: [b]Python 2.7.10 (default, May 23 201

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
vantage you’re >> expecting to gain by having the high explosive fly back at you if it misses >> the target. >> >> >> -- >> >> _______

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

2015-06-05 Thread Joe Kington
ynamics aside, I’m curious what tactical advantage you’re > expecting to gain by having the high explosive fly back at you if it misses > the target. > > > -- > > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge

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
_ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > ------ ___ Matplotlib

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
...@gmail.com>> schrieb am >> Fr., 5. Juni 2015 um 12:58 Uhr: >> I vote for D, although I like matlab's new default even better >> >> >> -- >> __

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

2015-06-05 Thread Thomas Caswell
comes up while I’m handling colormaps in my own work >> at the moment. >> >> Neal Becker schrieb am Fr., 5. Juni 2015 um >> 12:58 Uhr: >> >>> I vote for D, although I like matlab's new default even better >>> >>> >>> &

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
b-users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > <https://lists.sourceforge.net/lists/listinfo/matplotlib-users> > > -- > > _

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

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

2015-05-10 Thread bmer
Hi all, I wrote up my question in detail on StackOverflow. , but I figured it would be a good idea to "cross-post" it here, by providing a link. Please feel free to respond her

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: >

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

2015-04-01 Thread Christian Ambros
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: Edit setup.cfg to change the build options BUILDING MATPLOTLIB

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

[Matplotlib-users] matplotlib basemap streamlines plot

2015-03-27 Thread 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)? Regards Sappy85 -- View this message in context: http://m

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

[Matplotlib-users] Matplotlib for Grotrian Diagrams

2015-03-14 Thread Amol Agrawal
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 the atoms. Currently I have the data regardin

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).

[Matplotlib-users] matplotlib v1.4.3

2015-02-16 Thread Thomas Caswell
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). Additionally the source is available tarball is available from github [2] and mac-wheels from http://wheels.sci

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

  1   2   3   4   5   6   7   8   9   10   >