Re: [Matplotlib-users] Multiple lines of xtick_labels

2014-08-15 Thread Thomas Caswell
ght',rotation='horizontal') >> >> ax2 = ax1.twinx() >> ax2.errorbar(xiAllTypes.index,xiAllTypes['mean'],yerr=xiAllTypes['sd'],fmt='ro') >> ax2.set_ylabel(r'$\xi$',ha='left',rotation='horizontal') >> -

Re: [Matplotlib-users] pick_event after zooming/panning stops working.

2014-08-21 Thread Thomas Caswell
underneath those tools that are snarfing events when the are turned on to avoid messy conflicts. There is some work going on (MEP22 iirc) to update the toolbar and make our tool handling saner. Tom -- Thomas Caswell tcasw...@gmail.com

[Matplotlib-users] matplotlib v1.4.0 released

2014-08-26 Thread Thomas Caswell
We are pleased to announce the release of matplotlib 1.4.0! This release has contributions from ~170 authors (http://matplotlib.org/users/github_stats.html). This release contains many bug fixes as will as a number of new features. For the full list see http://matplotlib.org/users/whats_new.html

Re: [Matplotlib-users] mpl-1.4 openblas

2014-08-27 Thread Thomas Caswell
gt; -- > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > ___ > Matplotlib-users mailing list > Matplotlib-users@lis

Re: [Matplotlib-users] 1.4 install on Windows 8.1 with pip gives bad hash

2014-08-27 Thread Thomas Caswell
P.S. > I installed using the .exe installer without problems. > > -- > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.n

Re: [Matplotlib-users] Basemap shiftgrid

2014-08-27 Thread Thomas Caswell
Sciences du Climat et de l'Environnement (LSCE-IPSL) > UMR 1572 CEA-CNRS-UVSQ > Batiment 712 - Pe 119 > 91191 GIF Sur YVETTE Cedex > Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16 > > > > View this message in context: Re:

Re: [Matplotlib-users] 1.4 install on Windows 8.1 with pip gives bad hash

2014-08-27 Thread Thomas Caswell
to this: are the Windows and Mac wheels going to be > uploaded to PyPI so pip doesn't try to install/build from the source > distribution by default? > > Christoph > > On 8/27/2014 5:33 AM, Thomas Caswell wrote: >> Is the hash it reports reproducible? My first guess at

Re: [Matplotlib-users] violin plot

2014-08-28 Thread Thomas Caswell
We also welcome PRs! Adding that feature should be pretty straight forward. Iirc it should be a matter of adding an extra key to the dictionary and a conditional to draw the lines if those keys exist. Tom On Aug 27, 2014 4:57 PM, "Arnaldo Russo" wrote: > Hi Neal, > I don't know if you need exc

Re: [Matplotlib-users] Error in atexit._run_exitfuncs

2014-09-15 Thread Thomas Caswell
e.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Thomas Caswell tcasw...@gmail.com -- Want excitement? Manually upgrade your production database. When you want reliabili

Re: [Matplotlib-users] Error in atexit._run_exitfuncs

2014-09-15 Thread Thomas Caswell
> plt.matshow([[0.0]]) > > It crashes with the FigureManagerGTK3Cairo error. > Keith > > > -----Original Message- > From: Thomas Caswell [mailto:tcasw...@gmail.com] > Sent: 15 September 2014 13:23 > To: Briggs,KM,Keith,TUB2 R > Cc: matplotlib-users@lists.sourceforge.n

Re: [Matplotlib-users] FW: traceback when import matplotlib.pyplot twice

2014-10-10 Thread Thomas Caswell
ttp://p.sf.net/sfu/Zoho > _______ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Thomas Caswell tcasw...@gmail.com --

Re: [Matplotlib-users] Quiver 3D ValueError

2014-10-10 Thread Thomas Caswell
Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://p.sf.net/sfu/Zoho > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforg

Re: [Matplotlib-users] FW: traceback when import matplotlib.pyplot twice

2014-10-11 Thread Thomas Caswell
See https://github.com/matplotlib/matplotlib/pull/3638 That might help to make sure that things tear them selves down in the right order. Tom On Sat, Oct 11, 2014 at 10:12 AM, Phil Elson wrote: > > On 10 October 2014 19:10, Thomas Caswell wrote: >> >> I suspect a better fi

[Matplotlib-users] v1.4.1rc1

2014-10-14 Thread Thomas Caswell
- sundry unicode fixes (looking up user folders, importing seaborn/pandas/networkx with macosx backend - fixed boxplot regressions The tarball is available from github, sourceforge and can be install via pip install matplotlib==1.4.1rc1 Tom -- Thomas Caswell tcasw...@gmail.com

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

2014-10-16 Thread Thomas Caswell
Awesome, thanks! On Thu, Oct 16, 2014 at 8:14 AM, Sandro Tosi wrote: > Hi! > I just uploaded mpl 1.4.1-rc1 in Debian, so it can geta bit of > exposure even on the weird HW we still support. > > Cheers, > Sandro > > On Tue, Oct 14, 2014 at 5:40 PM, Thomas Caswell

Re: [Matplotlib-users] Matplotlib import fail

2014-10-16 Thread Thomas Caswell
t;C:\Python27\lib\site-packages\matplotlib\__init__.py", line 323, in > wrapper > ret = func(*args, **kwargs) > File "C:\Python27\lib\site-packages\matplotlib\__init__.py", line 509, in > _get_home > path = os.path.expanduser(&

Re: [Matplotlib-users] _backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named ‘strides’

2014-10-17 Thread Thomas Caswell
, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/l

Re: [Matplotlib-users] _backend_gdk.c:43:10: error: ‘PyArrayObject’ has no member named ‘strides’

2014-10-17 Thread Thomas Caswell
homas A Caswell > Date: Fri Oct 17 10:45:39 2014 -0400 > > on opensuse12.3 > > > On Fri, Oct 17, 2014 at 7:14 PM, Thomas Caswell wrote: >> >> What OS and what branch are you using? >> >> Can you roll back to one commit before the most recent merge? >

[Matplotlib-users] matplotlib v1.4.1 released

2014-10-18 Thread Thomas Caswell
Hello, We are pleased to announce the release of matplotlib 1.4.1. This is a bug-fix release for the 1.4 series. - reverts the changes to interactive plotting so ion will work as before in all cases fixed boxplot regressions - fixes for finding freetype and libpng - sundry unicode fixes (look

[Matplotlib-users] matplotlib v1.4.2

2014-10-25 Thread Thomas Caswell
Hot on the tails of v1.4.1, we have a v1.4.2 due to an error in the boxplot api in pyplot.py The only changes between 1.4.1 and 1.4.2 are: - corrected boxplot in pyplot.py - added extra paths to default search paths for freetype Tom -- Thomas Caswell tcasw...@gmail.com

Re: [Matplotlib-users] Equivalent of d3's "step-after" interpolation?

2014-10-30 Thread Thomas Caswell
Line objects... > > -- > Pierre > > -- > ___ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo

[Matplotlib-users] Fwd: tex rendering broken?

2014-11-03 Thread Thomas Caswell
Forwarding message to list that should have gone there initialy for archiving. -- Forwarded message -- From: Thomas Caswell Date: Mon, Nov 3, 2014 at 7:50 AM Subject: Re: [Matplotlib-users] tex rendering broken? To: Martin Wiebusch My first guess is that there is that some

[Matplotlib-users] Fwd: tex rendering broken?

2014-11-03 Thread Thomas Caswell
Forwarding message to list that should have gone there initialy for archiving. -- Forwarded message -- From: Martin Wiebusch Date: Mon, Nov 3, 2014 at 8:26 AM Subject: Re: [Matplotlib-users] tex rendering broken? To: Thomas Caswell On Mon, 2014-11-03 at 07:50 -0500, Thomas

Re: [Matplotlib-users] Defaults?

2014-11-07 Thread Thomas Caswell
The style module (extracted from mpltools) is now part of the library and was one of the major features added in the 1.4 series. See http://matplotlib.org/users/style_sheets.html Tom On Fri Nov 07 2014 at 11:05:58 AM Adam Hughes wrote: > I use a config file in ipython notebooks that sets some

Re: [Matplotlib-users] Problem with event handling in matplotlib in tkinter

2014-11-07 Thread Thomas Caswell
This came up regrading sliders a while ago: https://github.com/matplotlib/matplotlib/issues/3105 and is one of the persistent gotchas with animation code. Tom On Fri Nov 07 2014 at 12:38:28 PM Benjamin Root wrote: > Figured it out! The instance of Test() isn't being retained anywhere, so > when

Re: [Matplotlib-users] Problem with event handling in matplotlib in tkinter

2014-11-07 Thread Thomas Caswell
The old-style classes are because mpl pre-dates new-style classes. On master all classes now inherit from object (as of about 3 weeks ago https://github.com/matplotlib/matplotlib/pull/3662) On Fri Nov 07 2014 at 2:02:15 PM Brendan Barnwell wrote: > On 2014-11-07 09:37, Benjamin Root wrote: >

Re: [Matplotlib-users] Problem with event handling in matplotlib in tkinter

2014-11-07 Thread Thomas Caswell
navigation stuff, the blit-manager object I want to pull in from scikit-image, etc). @Federico, tell me if I am being dumb about this. Tom On Fri Nov 07 2014 at 2:05:29 PM Thomas Caswell wrote: > The old-style classes are because mpl pre-dates new-style classes. On > master all classes now i

Re: [Matplotlib-users] axes3d.get_test_data; where else is test data?

2014-11-07 Thread Thomas Caswell
Take a look at matplotlib.cbook.get_sample_data. That said, I don't think an _axes_ object should have such a function and axes3d.get_test_data() should be removed. Tom On Thu Nov 06 2014 at 11:40:18 AM Adam Hughes wrote: > Hi, > > I recently noticed the method: > > axes3d.get_test_data()

Re: [Matplotlib-users] Setting a user defined color for each marker of a Line2D

2014-11-13 Thread Thomas Caswell
If you want each marker to be a different color you have to use scatter. You can pass scatter a sequence of colors (see http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.scatter) so you don't have to go through making a custom colormap. Tom On Thu Nov 13 2014 at 9:01:42 AM "V. Armando S

Re: [Matplotlib-users] Control of the display of the navigation toolbar --- how?

2014-11-13 Thread Thomas Caswell
Also note that there is an rcparams context manager ( http://matplotlib.org/api/matplotlib_configuration_api.html#matplotlib.rc_context) that will take care of the boiler plate of temporarily changing an rcparam. On Wed Nov 12 2014 at 10:52:03 PM Sterling Smith wrote: > Virgil, > > Glad to hea

Re: [Matplotlib-users] Matplotlib hangs due to numpy.ma.power()

2014-11-14 Thread Thomas Caswell
Can you provide a reproducible example? There is not really enough here to sort out what is going wrong or why it is going wrong. Ideally the example should be self contained (code + synthetic data). What versions of mpl + numpy + python are you using everywhere? Tom On Fri Nov 14 2014 at 7:25

Re: [Matplotlib-users] Can not display 3D plot !

2014-11-18 Thread Thomas Caswell
Did you try in a conda venv? These look like (globally!) installed version of things which means your python session can still be picking up old/stale versions of other imports. See Paul Hobson's email. Tom On Thu Nov 13 2014 at 4:58:11 PM Geoffrey Mégardon < geoffrey.megar...@gmail.com> wrote:

Re: [Matplotlib-users] How to plot other than rectangular grid?

2014-11-20 Thread Thomas Caswell
There are also triangular mesh plotting (I think tricolormesh is the function name). The really brute force solution is to use poly collection and draw what ever shape you want. Tom -- Download BIRT iHub F-Type - The Free

Re: [Matplotlib-users] Solarized Light Color Palette

2014-11-26 Thread Thomas Caswell
Please put in a pull request to add your file to the rest of the style files. Tom On Tue, Nov 25, 2014, 22:58 Itay Livni wrote: > Hi - I am Itay and brand new here. Still to receive any sort of mails. > Actually quite new to git also.In any case I have a 90% complete > .*mplstyle > *Solar

Re: [Matplotlib-users] line segments in a scatter plot

2014-12-11 Thread Thomas Caswell
I would just call use `plot` and keep track of the Line2D objects returned. On Thu Dec 11 2014 at 10:40:05 AM Nils Wagner wrote: > Hi Ben, > > I have attached a sample scatter plot. The task is to add lines to the > scatter plot. > > Nils > > > On Thu, Dec 11, 2014 at 3:47 PM, Benjamin Root wro

Re: [Matplotlib-users] Is it planned to add copy/paste curves possibility in matplotlib ?

2014-12-11 Thread Thomas Caswell
glue does a lot of fancy interactive stuff, they might have something like that. >From a reproducible computing PoV that functionality is a bit of a problem until we have a way to serialize figures. It is looking more and more like that is what I will be doing over the holidays Tom On Thu

Re: [Matplotlib-users] Include \hline on table inside figure

2015-01-23 Thread Thomas Caswell
Have you looked at using the mpl tables? http://matplotlib.org/examples/pylab_examples/table_demo.html Tom On Fri Jan 23 2015 at 1:15:09 PM Arnaldo Russo wrote: > Hi, > > I'm dealing with this issue but no clues I have found! > When I use simple matplotlib engine, my plot does not render the cor

Re: [Matplotlib-users] using it in a Qt5-Widget

2015-01-28 Thread Thomas Caswell
It should be exactly the same as for Qt4, just importing from the Qt5 version Tom On Wed Jan 28 2015 at 11:24:55 AM wrote: > I read the documentation a little bit. But I couldn't find a hint how > to integrate a plot with matplotlib into a Qt5-Gui. > > --

Re: [Matplotlib-users] using it in a Qt5-Widget

2015-01-28 Thread Thomas Caswell
On Wed Jan 28 2015 at 2:39:16 PM wrote: > On 2015-01-28 16:25 Thomas Caswell wrote: > > It should be exactly the same as for Qt4, just importing from the Qt5 > > version > > Sorry, but my question was to unspecific. > > I don't know how it worked with Qt4. > &

Re: [Matplotlib-users] matplotlib finance

2015-01-30 Thread Thomas Caswell
Boris, Please direct such questions to the user list in the future (I have included the list on my reply). You may need to join the list to be able to post. The reason that mpl.finance was deprecated is that none of the current core developers work in finance and hence do not have the domain exp

[Matplotlib-users] v1.4.3rc1

2015-02-01 Thread Thomas Caswell
Evening all, I have tagged the first release candidate for v1.4.3 ( https://github.com/matplotlib/matplotlib/releases/tag/v1.4.3rc1). Although this is a bug-fix release, a fair amount of work has gone into making the nbagg (interactive figures in ipython notebooks) feature complete compared to th

Re: [Matplotlib-users] Do animations work in Notebook on Mac?

2015-02-02 Thread Thomas Caswell
The nbagg UAT has an animation example: https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/backends/web_backend/nbagg_uat.ipynb that should work on 1.4.2. Tom On Mon Feb 02 2015 at 11:17:15 AM Benjamin Root wrote: > There have been many fixes to the nbagg backend that I think a

Re: [Matplotlib-users] Marker Edge Width Bug

2015-02-04 Thread Thomas Caswell
This should be fixed in 1.4.3 (which currently has a release candidate out and barring calamities will be released this weekend). On Wed Feb 04 2015 at 9:44:54 AM Aston630 wrote: > Hi, > > I recently updated Matplotlib from 1.3.1 to 1.4.2, and I observe now a bug > that is: when I plot points, 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, > > > &

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

2015-02-07 Thread Thomas Caswell
See https://github.com/ipython/ipython/issues/7351 and https://github.com/matplotlib/matplotlib/pull/4002 On Sat Feb 07 2015 at 4:15:26 PM Benjamin Root wrote: > Hmm, that should work. I notice that you are using the beta 3.0 ipython > release. Perhaps something is broken in the beta? Could you

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

2015-02-07 Thread Thomas Caswell
Yes, I think that if you want to use ipython 3.0 you need to use mpl 1.4.3 or master. Tom On Sat Feb 07 2015 at 4:21:19 PM Benjamin Root wrote: > So, the user needs to use 1.4.3? > > On Sat, Feb 7, 2015 at 4:17 PM, Thomas Caswell wrote: > >> See https://github.com/ipython/i

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

2015-02-07 Thread Thomas Caswell
w how much of a hassle that would be for you. Tom On Sat Feb 07 2015 at 4:14:36 PM Sandro Tosi wrote: > 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.

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

2015-02-08 Thread Thomas Caswell
; /home/ben/Programs/matplotlib/result_images/test_collections/regularpolycollection_scale.png >> vs. >> /home/ben/Programs/matplotlib/result_images/test_collections/regularpolycollection_scale-expected.png >> (RMS 120.828) >> >> --

Re: [Matplotlib-users] Bug in matplotlib 1.4.2

2015-02-09 Thread Thomas Caswell
Can you test with 1.4.3rc1? I believe this has been fixed. On Mon Feb 09 2015 at 1:07:28 PM Alex Böhnert wrote: > Dear all, > > when plotting scattered data with the "," marker, the data points do not > show up either on screen (Qt4Agg backend) or in saved bitmap images (tested > with png); the

Re: [Matplotlib-users] Keep list of figures or plots and flip through list using UI

2015-02-10 Thread Thomas Caswell
Sorry this didn't get a response for so long. The core of the embedding in Qt is at QWidget which contains the canvas. Anything you want to do with a QWidget you can do with the canvas. Independently you need to maintain the mpl level plotting objects (the Figure, Axes, and Artist objects) (well,

[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] Keep list of figures or plots and flip through list using UI

2015-02-18 Thread Thomas Caswell
I am not > > in a hurry and I probably just overlooked something. :) > > > > Thanks and much appreciated! > > > > -C > > > > On Tue, Feb 10, 2015 at 2:44 PM, Thomas Caswell > wrote: > >> Sorry this didn't get a response for so long. > >&

Re: [Matplotlib-users] what are the new features of nbagg?

2015-02-18 Thread Thomas Caswell
Emilia, There is not a 'whats new' for 1.4.3 as it is a bug fix release and should not have new features ;) The new features in nbagg are all related to improved handling of gui events, in particular keyboard and scroll wheel events. The best way to get a feel for what nbagg can do is to read thr

[Matplotlib-users] Fwd: Keep list of figures or plots and flip through list using UI

2015-02-18 Thread Thomas Caswell
: [Matplotlib-users] Keep list of figures or plots and flip through list using UI To: Thomas Caswell Funny thing - shortly after I wrote you - I figured it out. I have a GUI/Dialog I created with designer that has a push button which cycles between two plots I stored in a list. If you would

Re: [Matplotlib-users] Fwd: Keep list of figures or plots and flip through list using UI

2015-02-18 Thread Thomas Caswell
>> >> Tom >> >> -- Forwarded message - >> From: tenspd137 . >> Date: Wed Feb 18 2015 at 12:25:10 PM >> Subject: Re: [Matplotlib-users] Keep list of figures or plots and flip >> through list using UI >> To: Thomas Caswell >>

Re: [Matplotlib-users] Event errors in qt5 backend after recent commit

2015-02-18 Thread Thomas Caswell
Can you put in a pull request with those changes please? On Wed, Feb 18, 2015, 17:03 Jorge Scandaliaris wrote: > Hi, > A recent commit against lib/matplotlib/backends/backend_qt5.py [1] causes > some errors in code that was working fine before. The error is as follows: > > --

Re: [Matplotlib-users] quiverkey() doesn't plot the reference vector?

2015-02-18 Thread Thomas Caswell
Is this just on master or with 1.4.x? On Wed Feb 18 2015 at 6:00:26 PM Eric Firing wrote: > On 2015/02/18 9:52 AM, njs wrote: > > Hi All, > > > > I'm having issues with quiver, and quiverkey() although, I have never > > experienced these issues in the past. I attached an image to this post > th

Re: [Matplotlib-users] quiverkey() doesn't plot the reference vector?

2015-02-18 Thread Thomas Caswell
This is probably related to the Agg renderer issue with edge-only markers. On Wed Feb 18 2015 at 7:14:22 PM Eric Firing wrote: > On 2015/02/18 2:00 PM, Thomas Caswell wrote: > > Is this just on master or with 1.4.x? > > It's on 1.4.1 and 1.4.2, but not on 1.4.3 or master

Re: [Matplotlib-users] what are the new features of nbagg?

2015-02-18 Thread Thomas Caswell
Recent means IPython > 2.4. For 3.0 %matplotlib notebook will also work. Tom On Wed Feb 18 2015 at 7:25:41 PM Eric Firing wrote: > On 2015/02/18 6:44 AM, Emilia Petrisor wrote: > > Hi all, > > > > I looked for a link where I could find out what’s new in |matplotlib > > 1.4.3|, but there is

Re: [Matplotlib-users] what are the new features of nbagg?

2015-02-18 Thread Thomas Caswell
Interesting, I was going off what the IPython devs said here https://github.com/ipython/ipython/issues/7774 On Wed Feb 18 2015 at 7:48:32 PM Eric Firing wrote: > On 2015/02/18 2:31 PM, Thomas Caswell wrote: > > Recent means IPython > 2.4. > > Did you mean 2.2? It work

Re: [Matplotlib-users] Event errors in qt5 backend after recent commit

2015-02-18 Thread Thomas Caswell
Jorge, I have put in a PR to fix this issue. Can you confirm that it is equivalent to your fix? For aesthetic reasons I chose to pass guiEvent as a kwarg to all of the event related functions. https://github.com/matplotlib/matplotlib/pull/4130 Tom On Wed Feb 18 2015 at 5:32:04 PM Thomas

Re: [Matplotlib-users] Problems with pyplot and cm in Matplotlib ver. 1.4.3

2015-02-21 Thread Thomas Caswell
Can you re-send this with that error message formatted a bit better (It is really hard to make any sense of it all squashed into one line like that). >From what I can make it out looks like it is mostly warnings, not errors. Does it correctly save the figure? Can you show us the two outputs? v1

Re: [Matplotlib-users] Plotting style

2015-03-03 Thread Thomas Caswell
I was thinking of the stand alone repository to just store the style files as the style module handles the loading pretty well. The main motivation for this would be to decouple the release cycle of the styles (which can be very fast) from the library (which needs to be slower). On Tue, Mar 3, 2

Re: [Matplotlib-users] Plotting style

2015-03-03 Thread Thomas Caswell
Yes, we are interested it more built-in themes. It may be worth making a 'matplotlib-styles' project which is _just_ a style library. On Tue, Mar 3, 2015 at 11:23 AM Marin GILLES wrote: > Le 03/03/2015 16:32, Christian Alis a écrit : > > Hi Marin, > > Have you looked at the style sheets exampl

Re: [Matplotlib-users] Plotting style

2015-03-04 Thread Thomas Caswell
That repo should probably be folded together with Tony Yu's style gallery code and eventually be migrated to live under the main matplotlib organization. I would also advocate for adding a bit of code into that repo to make it importable and to register all/some of it's style files with the USER_L

Re: [Matplotlib-users] Plotting style

2015-03-05 Thread Thomas Caswell
the rcparams are stored in a sub-class of dict which does both name and value validation on the way in. This is controlled by the class-level attribute `validate` (which is a dict mapping from key-name -> validation function). In principle you could update this dict to add rcparams on the fly, ho

Re: [Matplotlib-users] Bar plot align right?

2015-03-05 Thread Thomas Caswell
This is a bit hacky, but there is apparently no validation that 'width' is positive. If you set the `width` kwarg to negative you effectively get to set the right edge. Tom On Thu, Mar 5, 2015 at 11:09 AM J. Daniel Fenn wrote: > The bar plot options allow you to set align='center' or align='ed

Re: [Matplotlib-users] Avoid circular references with format_coord and Qt?

2015-03-08 Thread Thomas Caswell
My knee-jerk reaction is to move the definition of `format` outside of the `Visualize.__init__` method. If you need to have hooks back into the visualize method I would use a function factory + weak refs or a class (again with weakrefs) with a `__call__` method. Tom On Sun, Mar 8, 2015 at 3:35 P

Re: [Matplotlib-users] Draggable is not working on multiple legends of plots which are generated with twinx()

2015-03-11 Thread Thomas Caswell
The mouse events only propagate to the top axes. You will have to add both legends to the same (top) axes. See http://matplotlib.org/users/legend_guide.html#multiple-legend Tom On Wed, Mar 11, 2015, 08:57 liu lily wrote: > Hi, all: > > I have two legends, as below, I find that I can't drag th

Re: [Matplotlib-users] Draggable is not working on multiple legends of plots which are generated with twinx()

2015-03-11 Thread Thomas Caswell
is draggable? it is in the >>> second axe >>> >>> besides, since I have to use both y-axis on the left and on the right, >>> it seems I have to have two axes, >>> are there any workarounds? thanks! >>> >>> On Wed, Mar 11, 2015 at 2:

Re: [Matplotlib-users] IPython's matplotlib inline magic is really magic? Actually it might resets axes bounds...

2015-03-13 Thread Thomas Caswell
This is due to the fact that by default the inline backend saves the pngs using `boundingbox_inches='tight'`. The design goal on the mpl side of this kwargs was to trim off extra whitespace, but the way it is implemented works just as effectively to expand to fit artists that fall outside of the f

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 Thomas Caswell
sary 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 ubuntu, travis.ci (which we use for continuous integration >> testing) i

Re: [Matplotlib-users] Best way to display image from URL in Python3

2015-03-20 Thread Thomas Caswell
I think `six` (which we use to smooth over the 2/3 changes) has a way of dealing with atleast the urllib renaming . On Fri, Mar 20, 2015 at 11:58 AM Ryan Nelson wrote: > For me, if I change the script from the PR to what is shown below, > everything works fine in both Python 2.7 and 3.4 (Anacond

Re: [Matplotlib-users] Best way to display image from URL in Python3

2015-03-20 Thread Thomas Caswell
Despite my grumping earlier, a PR that makes URLs just work is probably a good idea and would be merged. Tom On Fri, Mar 20, 2015 at 3:59 PM Jerzy Karczmarczuk < jerzy.karczmarc...@unicaen.fr> wrote: > > Le 20/03/2015 16:57, Ryan Nelson a écrit : > > For me, if I change the script from the PR to

Re: [Matplotlib-users] Help with updating the limits of an axis to reflect the range of new data

2015-03-26 Thread Thomas Caswell
Can you include a minimal example of the code you are using (it looks like you did include code, but it did not come through)? It is very hard to guess at what is wrong without it. Tom On Wed, Mar 25, 2015 at 2:29 PM rogerjames99 wrote: > Hi, > > I am trying to draw a polar plot of a sonar sca

Re: [Matplotlib-users] Help with updating the limits of an axis to reflect the range of new data

2015-03-26 Thread Thomas Caswell
Yikes, that formatting is almost worse! On Thu, Mar 26, 2015 at 11:53 AM rogerjames99 wrote: > Hi Thomas, I posted via nabble. It looks like something stripped the code. > Here is the bit where the axes are set up def setup_axes(self, fig, rect): > """ With custom locator and formatter. Note tha

Re: [Matplotlib-users] Help with updating the limits of an axis to reflect the range of new data

2015-03-26 Thread Thomas Caswell
And if I look at this on nabble the code looks fine, it just was not redndering in inbox. Sorry, the issues is on my end. On Thu, Mar 26, 2015 at 11:54 AM Thomas Caswell wrote: > Yikes, that formatting is almost worse! > > On Thu, Mar 26, 2015 at 11:53 AM rogerjames99 > wrote: &g

Re: [Matplotlib-users] 'c' Keyword for color not working with latest IPython 3.0.0

2015-03-30 Thread Thomas Caswell
This bug has already been fixed in the source. The work around for now is to use the full name `color='r'` instead of the alais 'c'. Tom On Mon, Mar 30, 2015 at 11:06 PM Yuxiang Wang wrote: > Dear all, > > I have tried both latest Anaconda and WinPython in Windows 7, 64-bit > system, with Pyth

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-devel] 1.4.3 does not build on Ubuntu 14 with python3

2015-04-01 Thread Thomas Caswell
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 >

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

2015-04-01 Thread Thomas Caswell
t;>> >>> >>> >>> On Wednesday, April 1, 2015 1:25 PM, Jens Nielsen < >>> jenshniel...@gmail.com> wrote: >>> >>> >>> I think we have seen this issue before and it seems to be caused by an >>> out of date version

Re: [Matplotlib-users] Artifacts when saving as PDF

2015-04-06 Thread Thomas Caswell
This is probaly due to issues with not all of the vector backends supporting alpha gracefully. This can be reproduced more simply by x, y = np.ogrid[-5:5:.1, -5:5:.1] dd = np.exp(-(x**2 + y**2)) dd[dd < .1] = np.nan fig, ax = plt.subplots() ax.imshow(dd, interpolation='none', cmap='gray_r') plt.

Re: [Matplotlib-users] Artifacts when saving as PDF

2015-04-07 Thread Thomas Caswell
me up with one, but I > wasn't sure what was causing it to begin with. > > Is there anything to be done to prevent this? Just use another backend? > > Steven > > On 4/6/15 8:47 PM, Thomas Caswell wrote: > > This is probaly due to issues with not all of the vector bac

Re: [Matplotlib-users] sharex with one figure aspect = 1.0

2015-04-08 Thread Thomas Caswell
What are the data limits you are using? I suspect they you are over constraining the system/order of operations issue. Try dropping the adjustable setting and pre setting both the data limits and the approximate size in figure fraction (ex via grid spec) of the axes. Tom On Tue, Apr 7, 2015, 15:

Re: [Matplotlib-users] sharex with one figure aspect = 1.0

2015-04-08 Thread Thomas Caswell
xes changes while the aspect > ratio is fixed to 1). I guess that functionality has been taken out. > > Mark > > On Wed, Apr 8, 2015 at 12:50 PM, Thomas Caswell > wrote: > >> What are the data limits you are using? >> >> I suspect they you are over constraini

Re: [Matplotlib-users] sharex with one figure aspect = 1.0

2015-04-08 Thread Thomas Caswell
0 by changing the > physical size of the axis. But the physical size of the lower axis is not > changed, while this used to be the case in the past (but that may have been > a few years back). That sure used to be the desired behavior. > > Thanks for your help, > > Mark > > >

Re: [Matplotlib-users] How to create ternary contour plot in matplotlib?

2015-04-11 Thread Thomas Caswell
We have a pr in to add ternary axes, but unfortunately I do not understand it well enough to tell you of contours will work. See https://github.com/matplotlib/matplotlib/pull/3828 and links with in. Tom On Sat, Apr 11, 2015, 07:47 nxkryptor nxkr wrote: > I am trying to create ternary plots wit

Re: [Matplotlib-users] Some questions regarding pcolor(mesh)/nbagg/FuncAnimate

2015-04-11 Thread Thomas Caswell
Ryan, I have not looked at your exact issue yet, but there seems to be some underlying issues with animation and nbagg which we have not tracked down yet. See: https://github.com/matplotlib/matplotlib/pull/4290 https://github.com/matplotlib/matplotlib/issues/4287 https://github.com/matplotlib/mat

Re: [Matplotlib-users] segfault creating polarplot with GridHelperCurveLinear

2015-04-11 Thread Thomas Caswell
Malk, This is a bit of a gap in mpl currently (but has come up a couple of times ( https://github.com/matplotlib/matplotlib/issues/4217, https://github.com/matplotlib/matplotlib/issues/2203, and http://matplotlib.org/devdocs/devel/MEP/MEP24.html). One of the hold ups has been lack of a developer

Re: [Matplotlib-users] I need to force the "rounding" of x axis limits

2015-04-11 Thread Thomas Caswell
I am not really sure what you mean by 'round'. Do you want to suppress the offset or do you want mpl to pick 'nice' values after you have explicitly set the limits? Tom On Mon, Apr 6, 2015 at 5:27 AM giacomo boffi wrote: > INTRO > = > > please consider the following code (I'm trying to dra

Re: [Matplotlib-users] Some questions regarding pcolor(mesh)/nbagg/FuncAnimate

2015-04-12 Thread Thomas Caswell
imation, but > if you use all zeros or ones, it seems to be immutable. > > Ryan > > On Sat, Apr 11, 2015 at 8:35 PM, Thomas Caswell > wrote: > >> Ryan, >> >> I have not looked at your exact issue yet, but there seems to be some >> underlying issue

Re: [Matplotlib-users] Some questions regarding pcolor(mesh)/nbagg/FuncAnimate

2015-04-16 Thread Thomas Caswell
>>> test = Testing() >>> ani = animate.FuncAnimation(test.fig, test.update, interval=250, >>> blit=False, frames=50) >>> plt.show() >>> >>> Also this code solves the problem I was having with several scatter >>> points b

Re: [Matplotlib-users] animation.FuncAnimation example --- how does it work?

2015-04-23 Thread Thomas Caswell
Can everyone please bring the level of snark/hostility down? Programming is frustrating, but antagonizing the mailing list does not help anyone. It is not well documented, but the signature for `func` is assumed to be `def function(required, *optional_positional)` see https://github.com/matplotli

Re: [Matplotlib-users] Wind barb bug

2015-04-25 Thread Thomas Caswell
Jesper, Can you open an issue on this on github. If you are feeling ambitious a pull request fixing the bug (as you seem to have a good idea of where the problem is) would also be great! Tom On Fri, Apr 24, 2015 at 8:38 AM Jesper Larsen wrote: > Hi Matplotlib Users, > > When I make wind barbs

Re: [Matplotlib-users] ImportError: No module named _winreg

2015-04-27 Thread Thomas Caswell
Those look like they are coming up out of numpy. I am not familiar with gentoo, but it looks like numpy is not in the dependencies list. Tom On Mon, Apr 27, 2015, 16:59 Martin MOKREJŠ wrote: > Hi, >I use dev-python/matplotlib-1.4.3 and I suspect this is a recent > regression in it. Can any

Re: [Matplotlib-users] Axes3d.mouse_init(), facing problems when embedding matplotlib 3d-projection into PyQt5 App

2015-04-29 Thread Thomas Caswell
I think that this SO answer may be relevant: https://stackoverflow.com/questions/18259350/embed-an-interactive-3d-plot-in-pyside/18278457#18278457 On Wed, Apr 29, 2015 at 5:43 AM Christian Ambros wrote: > Ok, back from revision... > > The is no mix-up for the show command. The only explicit show

Re: [Matplotlib-users] Possible bug in padding between text and bounding box for PDF

2015-05-07 Thread Thomas Caswell
Sourish, We no longer are updating the 1.3.x releases. Can you reproduce this problem using 1.4.3? Tom On Thu, May 7, 2015 at 11:14 AM Sourish Basu wrote: > Hello, > > I have been fighting with this problem for some time. It seems that if, on > a plot, I have some text inside a bounding box,

Re: [Matplotlib-users] bug in zorder example

2015-05-07 Thread Thomas Caswell
zorder can be negative, if you want to ensure that all of your lines are always below all of the standard axis components simple decrease the zorder of the elements you want behind rather than increasing the zorder of the elements you want in front. @ben look at the top left of http://matplotlib.

Re: [Matplotlib-users] bug in zorder example

2015-05-07 Thread Thomas Caswell
information is other than in the source. Tom On Thu, May 7, 2015 at 11:38 AM Benjamin Root wrote: > But, why is it doing that only along the top edge and not the other edges > (or are my eyes that bad)? > > On Thu, May 7, 2015 at 11:30 AM, Thomas Caswell > wrote: > >> z

  1   2   >