Re: [matplotlib-devel] ginput in nbagg backend to use in IPython Notebooks

2015-01-27 Thread Mark Bakker
fig, ax = plt.subplots() > x = np.linspace(0,10,1) > y = np.sin(x) > ln, = ax.plot(x,y) > > dd = accumulator(15) > fig.canvas.mpl_connect('button_press_event', dd.on_event) > plt.show() > ``` > > and then get the points by > > ``` > dd.lest_of_points

[matplotlib-devel] ginput in nbagg backend to use in IPython Notebooks

2015-01-26 Thread Mark Bakker
Hello List, Are there any plans to make ginput work in the nbagg backend? It would be so cool if I could use that in an IPython Notebook together with the other widgets. Thanks, Mark -- Dive into the World of Parallel P

Re: [matplotlib-devel] xkcd doesn't seem to work in MacOSX backend

2014-11-18 Thread Mark Bakker
> 115, in draw_path >> rgbFace) >> File >> "/usr/local/lib/python2.7/site-packages/matplotlib/patheffects.py", line >> 217, in draw_path >> renderer.draw_path(gc, tpath, affine, rgbFace) >> File >> "/usr/local/lib/python2.7/

Re: [matplotlib-devel] xkcd doesn't seem to work in MacOSX backend

2014-11-18 Thread Mark Bakker
Sorry, forgot to mention that: 1.4.0 On Tue, Nov 18, 2014 at 5:00 PM, Benjamin Root wrote: > Which version of matplotlib are you using? > > On Tue, Nov 18, 2014 at 10:55 AM, Mark Bakker wrote: > >> Hello list, >> >> I don't seem to get xkcd to work in the Ma

[matplotlib-devel] xkcd doesn't seem to work in MacOSX backend

2014-11-18 Thread Mark Bakker
Hello list, I don't seem to get xkcd to work in the MacOSX backend. When I try to make a plot I get a nice white figure with nothing on it. Here's what I did: import matplotlib.pyplot as plt %matplotlib # responds with Using matplotlib backend: MacOSX plt.plot([1,2,3]) # gives white figure with

Re: [matplotlib-devel] problems with shared axis

2008-10-27 Thread Mark Bakker
Dang, I looked at it, but so much has changed since 0.98.3 release that I have little chance of getting any changes implemented. Any plans for a new release that you know of? Thanks, Mark On Mon, Oct 27, 2008 at 7:29 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > Mark Bakker wrote: > &

Re: [matplotlib-devel] problems with shared axis

2008-10-27 Thread Mark Bakker
t 7:57 AM, Eric Firing <[EMAIL PROTECTED]> wrote: > Mark Bakker wrote: > >> Hello list (especially Erik, who can fix this I hope) - >> >> I have had problems with shared axes, especially when one of the axis has >> an aspect ratio that is set 'equal'.

Re: [matplotlib-devel] problems with shared axis

2008-10-22 Thread Mark Bakker
Thanks Eric. You know that this has been on my wish list for a long time. Let me know if I can test anything or help in any other way, Mark On Wed, Oct 22, 2008 at 10:54 AM, Eric Firing <[EMAIL PROTECTED]> wrote: > Mark Bakker wrote: > >> Hello list (especially Erik, who c

[matplotlib-devel] problems with shared axis

2008-10-21 Thread Mark Bakker
Hello list (especially Erik, who can fix this I hope) - I have had problems with shared axes, especially when one of the axis has an aspect ratio that is set 'equal'. It has been discussed on the list before (mostly with Erik Firing), but it hasn't been fixed yet. What I want to do is have two plo

Re: [matplotlib-devel] problems with labeling contour lines in 0.98.3

2008-09-12 Thread Mark Bakker
happens when the label > covers the entire contour - currently the contour gets deleted entirely, > but this seems to be doing something strange in your case. > > Cheers, > David > > > On Thu, 2008-08-21 at 16:02 +0200, Mark Bakker wrote: > > David - > > > >

Re: [matplotlib-devel] problems with labeling contour lines in 0.98.3

2008-08-21 Thread Mark Bakker
t; > I am currently on vacation, so I can´t be of much help - back beginning of > next month. It would be useful if > you could try the clabel and ginput demo scripts and send images of the > resulting figures so that we can determine exactly what things work and > don´t work. >

[matplotlib-devel] problems with labeling contour lines in 0.98.3

2008-08-19 Thread Mark Bakker
Hello David and the developers list- I have had little luck on the mailing list, so sorry for writing you directly (David may be on vacation). I have two problems labeling contour lines in 0.98.3. First, when I call clabel, it removes all contours that are not labeled (because the label doesn't

Re: [matplotlib-devel] The new logo (was: future of mpl documentation)

2008-06-02 Thread Mark Bakker
I agree that the new logo looks nice, but I also think that Rob is right: When you see the logo you wouldn't know that we are talking about a general purpose plotting package. So the question is: are we going for looks over meaning? I guess the other way around would be terrible: choosing meaning o

Re: [matplotlib-devel] new release?

2008-05-14 Thread Mark Bakker
= os.stat(realpath) > stat_key = (stat.st_ino, stat.st_dev) > result = realpath, stat_key > self._cache[path] = result > return result > get_realpath_and_stat = GetRealpathAndStat() > > > Cheers, > Mike > > Mark Bakker wrote: > > >

Re: [matplotlib-devel] new release?

2008-05-13 Thread Mark Bakker
John, Michael - Now that we are talking about a new release, did you guys ever manage to fix the bug described below. It had to do with greek symbols not showing up in postscript files on windows. John seemed to have tracked down the source of the problem, but I never heard of a solution. Thanks,

[matplotlib-devel] bug in mathtext eps output

2008-03-18 Thread Mark Bakker
have this problem? It worked for mpl 0.90.1. Has something changed in mathtext that causes this? Mark Bakker - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.

Re: [matplotlib-devel] Problem with Agg Ellipses

2007-12-25 Thread Mark Bakker
Tedd, Michael - Sorry to join this discussion late, but wouldn't it be easier to use a representation of an ellipse in complex variables? That's what I have been using and it seems pretty quick to me. Have you guys tried this? Any experience you want to share? Mark --

[matplotlib-devel] new location of home.ppm

2007-12-12 Thread Mark Bakker
Hello - It seems that in the latest version (0.9.1) the location of the images, such as home.ppm, has moved to a new directory. It used to be in ...\mpl-data and now it is in ...\mpl-data\images This totally breaks my code, as I use my own toolbar that uses these images, with a hardcoded location

Re: [matplotlib-devel] Inches?

2007-10-30 Thread Mark Bakker
Just to clarify: the OFFICIAL definition of an inch is 2.54 cm. So rounding errors shouldn't be much of a problem. > Date: Mon, 29 Oct 2007 09:37:06 -0400 > From: Michael Droettboom <[EMAIL PROTECTED]> > > I agree that we have to remain in inches internally. Non-metric units > are pretty ingrain

Re: [matplotlib-devel] SaveFig bug in TkAgg backend

2007-05-18 Thread Mark Bakker
at would be great, but we'll tackle it before very long if not. Perry On May 18, 2007, at 7:21 AM, Mark Bakker wrote: > This is a well known problem, reported about a year or so ago. > John Hunter tried to get some help on the (TK?) mailinglist, but I > don't think anybody respon

Re: [matplotlib-devel] SaveFig bug in TkAgg backend

2007-05-18 Thread Mark Bakker
This is a well known problem, reported about a year or so ago. John Hunter tried to get some help on the (TK?) mailinglist, but I don't think anybody responded. I looked into it too, but couldn't find a solution (that doesn't mean much, except for that it is not blatently obvious). It would be grea

[matplotlib-devel] Bug(?) in FancyArrow overhang

2007-05-17 Thread Mark Bakker
Hello list - I tried this on the user's list, but didn't get a response. I am afraid it is a bug. I am trying to use FancyArrow to draw an arrow with given length. The length I use is from 0 to 100. I specify length_includes_head=True. This works fine when I specify a width and length. But when I

[matplotlib-devel] Interactive save still broken in Tkinter

2007-04-03 Thread Mark Bakker
Sorry to bug you about this again. This is an old problem that hasn't been fixed yet. I don't know how to fix it, but I hope somebody does. Using Tkinter, in interactive mode, using pylab, after saving by clicking on the save button on Toolbar2, any reference to the figure will have disappeared (

[matplotlib-devel] subplots adjust

2006-08-07 Thread Mark Bakker
Darren -Although I agree with your on some level, the advantage of the current toolbar is that it is easy to incorporate in a GUI, where the user can define his own drop down menu. So I vote for a backend native slider, but keep the button on the toolbar. I have been thinking about an easier way t

Re: [matplotlib-devel] open bug: losing focus after saving in interactive mode

2006-07-17 Thread Mark Bakker
PROTECTED]> wrote: >>>>> "Mark" == Mark Bakker <[EMAIL PROTECTED]> writes:Mark> The weird thing is that this used to work fine in the past.Mark> At least, I am pretty sure it did.  Then again, I am Mark> watching the Worlcup final at this time.  

[matplotlib-devel] bug introduced in 0.87.3: subprocess error while saving eps

2006-07-10 Thread Mark Bakker
Sorry to bother you again, but I recently upgraded from 0.87.2 to 0.87.3, and cannot save eps files anymore. I get a 'subprocess' error.I am running Python 2.3, mpl 0.87.3, and TkAgg (although that shouldn't matter). Error occurs whether using toolbar or savefig to save.Here's the script and the er

Re: [matplotlib-devel] open bug: losing focus after saving in interactive mode

2006-07-09 Thread Mark Bakker
The weird thing is that this used to work fine in the past.At least, I am pretty sure it did.Then again, I am watching the Worlcup final at this time. So a significant part of my brain is doing something else, MarkOn 7/9/06, John Hunter <[EMAIL PROTECTED]> wrote: >>>>>

[matplotlib-devel] open bug: losing focus after saving in interactive mode

2006-07-09 Thread Mark Bakker
John was asking whether there was something left to be fixed befor 0.88.In 0.87.3, there is still a bug left that has been reported several times I think.In interactive mode on TkAgg, after solving by clicking on the 'save' button in toolbar2, mpl loses its knowledge of the figure. Any plotting sta