Hi,
We found we needed to draw a partial ring, but didn't see one in
patches.py.
Attached is a generalization of Wedge to accept an inner and an outer
radius.
Should I add this to patches?
Note that rather saving the unit ring and constructing a transform as
in Wedge:
def get_pat
On Nov 14, 2008, at 9:59 AM, Michael Droettboom wrote:
> Paul Kienzle wrote:
>> Hi,
>>
>> We found we needed to draw a partial ring, but didn't see one in
>> patches.py.
>>
>> Attached is a generalization of Wedge to accept an inner and an
>>
On Nov 14, 2008, at 12:36 PM, Paul Kienzle wrote:
>>
>> Any reason not to implement this simply as an additional kwarg to
>> Wedge, rather than a new class -- since Ring with a r2 == 0 is
>> equivalent to Wedge anyway? Just thinking of having less code to
>> ma
On Dec 19, 2008, at 7:52 AM, John Hunter wrote:
> Could you post the script you are using to do the profiling? The call
> to subplot/plot/bar should not trigger a draw, unless "interactive" is
> set to True
>
> http://matplotlib.sourceforge.net/users/shell.html
>
> Interactive is not the best
Hi,
I'm sending a little module I use to force a particular version of
matplotlib and backend in my library.
This is imported in my package __init__.py to make sure the
environment is sane. It can also be imported in the beginning of the
app to set up a sane environment, which may be nec
On Jan 9, 2009, at 6:12 PM, Ryan May wrote:
> Maybe it's time to refactor here to get routine(s) that operate how
> we want (IMO
> more sanely than Matlab), and we provide wrappers that give Matlab-
> like behavior.
> Maybe we can also get these sane routines upstream into Scipy. At
> that
Hi,
What's the status of interactive property editors for mpl graphs?
I would like something that would allow me to change properties such
as the size and position of the graph, grids, scales, ranges, colors,
symbols, line styles, fonts, etc., and add annotations. Some of this
already exis
On Mar 12, 2009, at 9:49 AM, Michael Droettboom wrote:
> We've done some experiments with Enthought Traits at various times to
> address this issue. There were always various obstacles to making it
> work, but it may be worth another look. Traits has its nice auto-
> built
> property editors (
nnect
callbacks, but the cid is not being saved.
* The graph wasn't always drawn before selection in ipython or before
a subsequent show() so I forced it with explicit draw_idle() calls.
This may lead to unnecessary redraws.
- Paul
# This program is public domain
# Author: Pa
Note a small issue on the install of matplotlib-1.0.0 python 2.6 mac
dmg.
The files in mpl-data/images were not installed with read permissions
for all.
This resulted in an error that _cidgcf was not a valid attribute in
FigureManager.
This affected one 10.5 machine but not another --- we
urns truth value,details
pick(event) which generates the current pick event
Later I can construct the infrastructure I want on the contains()
function for each artist.
Does this approach seem reasonable to those who will approve the
patches I will send?
Thanks,
Paul Kienzle
[EMAIL
On Fri, Jul 06, 2007 at 10:15:48AM -0500, John Hunter wrote:
> On 7/6/07, Paul Kienzle <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I've been playing with the pick infrastructure in 0.90 and find that
> > it doesn't meet my needs. The issue is that
On Fri, Jul 06, 2007 at 10:15:48AM -0500, John Hunter wrote:
> On 7/6/07, Paul Kienzle <[EMAIL PROTECTED]> wrote:
> > Instead I would like to start by splitting the current pick method
> > into two parts:
> >contains(event,picker) which returns truth value,detai
On Fri, Jul 06, 2007 at 05:31:58PM -0400, Paul Kienzle wrote:
> On Fri, Jul 06, 2007 at 10:15:48AM -0500, John Hunter wrote:
> > On 7/6/07, Paul Kienzle <[EMAIL PROTECTED]> wrote:
> > > Instead I would like to start by splitting the current pick method
> > > into t
On Sun, Jul 08, 2007 at 03:04:41AM -0400, Paul Kienzle wrote:
> I submitted the 'contains' patch to the patch tracker on sourceforge.
I've updated the 'contains' patch to handle figure enter/leave, at
least on wx backends, and fixed a minor hit test bug in ellipse.
I
On Mon, Jul 09, 2007 at 10:37:35AM -0500, John Hunter wrote:
> One minor bug I fixed for non wx backends in the (very cool)
> figure.canvas.mpl_connect("motion_notify_event",figure.canvas.hilite)
> functionality. gui_repaint is a wx only method, and I just commented
> it out and replaced the "draw
On Fri, Jul 13, 2007 at 03:06:45PM -0500, John Hunter wrote:
> Because the mpl_ prefix occurs nowhere else, we can easily change this
> to whatever we want with a single search replace.
I haven't sync'd with the repository yet so I can check this assertion:
h123063:~/src/matplotlib$ find . -nam
Hi,
I don't see an obvious way to remove a line from an axes object.
Shall I add remove_child(h) which searches through all the lists
of containers and removes the one that I don't want?
For now I will rerender the graph without the missing child.
- Paul
---
Hi,
I've made some progress on an MPL canvas infrastructure built on top of the
contains() methods patch I submitted earlier (and now in svn).
I would like to post it to svn so that interested parties can play with it
and contribute to the development, but it is not yet ready to be put in the
tru
On Mon, Jul 16, 2007 at 08:38:17AM -0500, John Hunter wrote:
> On 7/15/07, Paul Kienzle <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I don't see an obvious way to remove a line from an axes object.
> >
> > Shall I add remove_child(h) which searches through
On Tue, Jul 17, 2007 at 08:33:47AM -0500, John Hunter wrote:
> Speaking of branches, we may need to seriously consider a branch here,
> mpl1. The changes here may involve breaking a fair amount of code,
> which I don't mind doing to get it right, but I'm somewhat inclined to
> branch off here for
On Tue, Jul 17, 2007 at 11:54:19AM -0400, Perry Greenfield wrote:
> This is exactly the sort of thing that I thought a transform approach
> would make easier to do. So if it isn't urgent, waiting probably
> would be better. (by the way, we see exactly the same sort of log
> scale you propose
The polar demo in examples/polar_demo.py no longer displays the spiral
and axes. It worked a couple of weeks ago when I was testing the contains()
method.
I downloaded a fresh build of matplotlib pulled from svn today. Tested on
python 2.5 OS X. Should be on the wxAgg backend, though I don't
Probably a better question for the help list, but has anybody written
an artist that can display a semi-infinite or infinite line?
axvline and axhline can fake it for vertical and horizontal infinite lines,
but they cannot handle slopes or semi-infinite lines.
Thanks,
- Paul
---
On Thu, Jul 19, 2007 at 03:31:26PM -0700, Christopher Barker wrote:
> > In matplotlib, the plot functions are matplotlib.axes.Axes methods and
> > I think there is consensus that this is a poor design.
>
> Well, the OO interface has always felt a bit clunky to me, but I'm not
> sure where else pl
On Thu, Jul 19, 2007 at 12:18:21PM -0500, John Hunter wrote:
> = Z-ordering, containers, etc =
>
> Peter has been doing a lot of nice work on z-order and layers for
> chaco, stuff that looks really useful for picking, interaction, etc...
> We should look at this approach, and think carefully about
On Fri, Jul 20, 2007 at 08:53:30AM -0400, Rob Hetland wrote:
> Second, much of what I do involves plotting model data (on a
> curvilinear grid). I generally like to use pcolor for these plots.
> I *always* want shading='flat' Some of my grids are large, and I
> only see lines if I don't.
Hi,
Not hearing back one way or the other, I checked in the remove artist stuff.
It is a pretty minor patch. It is cheap (a lambda and an attribute per
artist), but unfortunately not free for those who don' need it :-(
I can turn the lambdas into methods pretty easily if the python experts
say
On Fri, Jul 20, 2007 at 06:57:26AM -1000, Eric Firing wrote:
> Paul Kienzle wrote:
> > On Fri, Jul 20, 2007 at 08:53:30AM -0400, Rob Hetland wrote:
> >> Second, much of what I do involves plotting model data (on a
> >> curvilinear grid). I generally like to use pcolor
On Fri, Jul 20, 2007 at 11:02:45AM -0700, Christopher Barker wrote:
> Rob Hetland wrote:
> > First, it has bothered me that from pylab import * and from numpy
> > import * both import 'load' statements. Yes, I realize that I can put
> > them in their own name space, but I only use python for mp
On Fri, Jul 20, 2007 at 09:03:21AM -1000, Eric Firing wrote:
> Good, thank you. This brings up the larger question of the major
> redesign that is underway, and how to make sure we don't lose the
> benefit of wonderful speedups like quadmesh. How hard would it be to
> translate it to use the s
On Fri, Jul 20, 2007 at 12:34:44PM -0700, Christopher Barker wrote:
> You're right that for math expressions, it is nice to have them in the
> namespace, so this is used a lot:
>
> from numpy import sqrt, sin, cos, exp
>
> Maybe it's a reasonable idea to write a Nmath.py, which would have an
>
On Fri, Jul 20, 2007 at 02:53:42PM -0700, Christopher Barker wrote:
> Paul Kienzle wrote:
> > On Fri, Jul 20, 2007 at 12:34:44PM -0700, Christopher Barker wrote:
> >> Out of 491 names in the numpy namespace, I found 26 that would commonly
> >> be found in math expres
On Fri, Jul 20, 2007 at 05:05:40PM -0700, Christopher Barker wrote:
> >> so I think it does make sense to bring the common names that show up in
> >> math expressions into the main namespace.
>
> >> This is probably best just done by each individual according to his/her
> >> taste.
> >
> > That
On Sat, Jul 21, 2007 at 09:42:16AM -0500, John Hunter wrote:
> On 7/21/07, Paul Kienzle <[EMAIL PROTECTED]> wrote:
> > I used the following list:
> >
> > symlist=`cat < > pi inf Inf nan NaN
> > isfinite isnormal isnan isinf
> > arccos arcsin arc
Hi,
I'm attaching the canvas object code I've been playing with.
The API is still incomplete, but in the spirit of release early,
release often, I'll put it out there for people to comment on.
This should use a common callback mechanism with mpl (e.g., the
user should bind to a axis limit change
On Sat, Jul 21, 2007 at 08:51:19AM -1000, Eric Firing wrote:
> John Hunter wrote:
> [...]
> > functions or array functions here, eg math.sqrt vs numpy.sqrt? Also,
> > a few of your symbols clash with python builtins (min, max, abs) which
> > is best avoided. Finally, how would you feel about allo
On Sat, Jul 21, 2007 at 02:39:52PM -0500, John Hunter wrote:
> On 7/21/07, Paul Kienzle <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I'm attaching the canvas object code I've been playing with.
> >
> > The API is still incomplete, but in the spirit
Hi,
I really love mathtext! I wrote a simple formula parser
and now I can label my graphs with easy to read chemical
names (I've attached it below for the curious).
The problem is that the baseline is wandering. On my machine
the following has the 'h' too low and the 'io' too high:
import pyla
On Thu, Aug 02, 2007 at 10:31:04AM -0400, Michael Droettboom wrote:
> I don't know if we ever reached consensus on how to specify math text
> vs. regular text. I agree with Eric that it's down to two options:
> using a new kw argument (probably format="math" to be most future-proof)
> or Math('
On Wed, Aug 15, 2007 at 09:57:21AM -0400, Darren Dale wrote:
> On Tuesday 14 August 2007 07:35:43 pm Darren Dale wrote:
> > I'm developing an application for work and need to plot some spectra on a
> > logscale. I can recreate my problem with embedding_in_qt4, by replacing
> > MyDynamicMplCanvas.co
Hi all,
I replaced one of the text_rotation examples with r'$\rm{mathtext_{225}}$'
to see if rotation is supported for mathtext. It is not in the current
trunk downloaded today.
Before I look to deeply into this myself, is there anyone working on it
already? Is there anything I need to look ou
Hi,
It would be great to be able to display math markup in other parts of my
application, such as labels, tables, lists and menus. Has anyone ever
tried doing this for wx or gtk?
Thanks in advance,
- Paul
-
This SF
On Thu, Aug 30, 2007 at 02:19:47PM -0400, Michael Droettboom wrote:
> Paul Kienzle wrote:
> > Hi all,
> >
> > I replaced one of the text_rotation examples with r'$\rm{mathtext_{225}}$'
> > to see if rotation is supported for mathtext. It is not in t
On Thu, Aug 30, 2007 at 01:56:36PM -0500, John Hunter wrote:
> On 8/30/07, Michael Droettboom <[EMAIL PROTECTED]> wrote:
>
> > (And long term, as cool as matplotlib is, it would be nice to refactor
> > this out as a separate library for apps that don't do any plotting...)
>
> I agree, the mathtex
On Fri, Aug 31, 2007 at 03:28:49PM -0400, Michael Droettboom wrote:
> There is now preliminary support for getting a mathtext bitmap to
> transfer to a GUI widget in SVN, along with a toy wxPython example in
> examples/mathtext_wx.py. I've only tested this on
> Linux/wxGTK2/wxPython-2.8. I'd a
On Fri, Aug 31, 2007 at 03:32:09PM -0400, Michael Droettboom wrote:
> And placing bitmaps in menu items reportedly doesn't work at all on
> wxCocoa. -- so maybe it's best to stay away from that altogether.
The wxPython demo.py for menus has a smiley face bit map that displays
just fine. Let me k
In checking the mathtext rotation feature I found that the graph displayed
fine, but python segfault'd shortly after displaying it. Most (all) examples
are failing for me for svn r3778, even after rebuilding and reinstalling
everything.
Is there something in the last couple of weeks which might
On Wed, Sep 05, 2007 at 01:40:02PM +0300, Jouni K. Seppänen wrote:
> Paul Kienzle <[EMAIL PROTECTED]> writes:
>
> [segfaults]
> > Is there something in the last couple of weeks which might cause this?
>
> Some changes in font handling caused segfaults for me, and it
On Wed, Sep 05, 2007 at 07:13:27AM -0400, Michael Droettboom wrote:
> Jouni K. Seppänen wrote:
> > Paul Kienzle <[EMAIL PROTECTED]> writes:
> >
> > [segfaults]
> >> Is there something in the last couple of weeks which might cause this?
> >
> > So
I went through the demo list again today. Here are some problems:
$ python fonts_demo.py
Traceback (most recent call last):
File "fonts_demo.py", line 31, in
font.set_name('Script MT')
AttributeError: 'FontProperties' object has no attribute 'set_name'
I'm getting segfaults for the follo
On Thu, Sep 06, 2007 at 08:14:19AM -0400, Michael Droettboom wrote:
> On a broader note, I've been using backend_driver.py as my ersatz
> "acceptance test suite." Not all of these examples are included in it,
> of course. Is there good reason for that, or should I go ahead and add
> these to b
polar_demo agg and polar_demo pdf/ps/svg show different results. In agg,
the spiral is clipped to the polar axes. In pdf/ps/svg it is clipped to
the rectangle containing the axes.
Note: I don't use polar plots, so I'm mentioning this for completeness only.
- Paul
On Fri, Sep 07, 2007 at 12:09:01PM -0400, Michael Droettboom wrote:
> Paul Kienzle wrote:
> > I was going to check if this also fixed the dot on the 'i' in sin as
> > well as the equals sign,
>
> FWIW, it did for me in Inkscape.
And for me in Safari.
Note:
On Fri, Sep 07, 2007 at 10:31:13AM -0400, Michael Droettboom wrote:
> Paul Kienzle wrote:
> > On Fri, Sep 07, 2007 at 06:40:55AM -0400, Michael Droettboom wrote:
> >> I'd be curious to see a screenshot of what Safari looks like. It may be a
> >> simple fix o
On Fri, Sep 07, 2007 at 10:58:47AM -0400, Michael Droettboom wrote:
> Paul Kienzle wrote:
> > On Fri, Sep 07, 2007 at 06:40:55AM -0400, Michael Droettboom wrote:
> >> I'd be curious to see a screenshot of what Safari looks like. It may be a
> >> simple fix o
On Fri, Sep 07, 2007 at 03:09:10PM -0400, Michael Droettboom wrote:
> Paul Kienzle wrote:
> > On Fri, Sep 07, 2007 at 12:09:01PM -0400, Michael Droettboom wrote:
> >> Paul Kienzle wrote:
> > Note: Adobe SVGViewer doesn't see the embedded fonts, but it works if I
>
On Fri, Sep 07, 2007 at 04:04:28PM -0400, Michael Droettboom wrote:
> Paul Kienzle wrote:
> > It looks the same as the version without embedded fonts, which is that it
> > chooses some incorrect default font with the wrong character codes as I
> > showed earlier.
>
> Th
Hi,
We are having trouble with PDF generation on Windows (see below).
Python 2.4.3 - Enthought Edition 1.1.0
freetype 2.5.3 (GnuWin32 package)
Anyone experienced similar problems?
Meanwhile I'm modifying ttconv to include the font name in the error message.
- Paul
Traceback (most r
A further comment on the windows PDF problems.
PDF output generated by matplotlib on Windows and on OS X is readable
in Preview.app on OS X but is not readable in Acrobat 8.1.0 or 7.0.5
on Windows.
Adobe 7.0.5 produces the message "There were too many arguments".
At this point I have no idea
I've resolved part of the PDF font problem on windows --- ttconv was not
opening the font file with "rb". I'll send a patch later as soon as I
figure out why acrobat is saying "too many arguments" when opening the
resulting pdf file. Preview.app on OS X opens the files without difficulty.
; (Jouni -- you may want to review this and verify that my change is correct.)
>
> Cheers,
> Mike
>
> Paul Kienzle wrote:
> > On Mon, Sep 10, 2007 at 04:19:24PM -0400, Michael Droettboom wrote:
> >> Can you set "pdf.compression : 0" and send me a copy of the
On Tue, Sep 11, 2007 at 10:57:18AM -0400, Paul Kienzle wrote:
> I'm not sure yet how to fix the problem, but in the sample I sent
> earlier if I change:
>
> 5 0 obj
> << /Length 11 0 R >>
> endobj
>
> to
>
> 5 0 obj
> << /Lengt
On Tue, Sep 11, 2007 at 12:31:25PM -0400, Michael Droettboom wrote:
> Did r3829 not work for you? (Or did you miss that in my earlier post?)
>
> I don't think anything related to Lengths has changed recently, and it
> did work at one point...
The current svn works --- I must have missed a build
On Wed, Sep 12, 2007 at 01:11:54PM -0500, John Hunter wrote:
> On 9/12/07, Michael Droettboom <[EMAIL PROTECTED]> wrote:
>
> > So, I feel like I'm going in a bit of a circle here, and I might need a
> > reality check. I thought I'd better check in and see where you guys
> > (who've thought about
As I was building a py2exe distribution of matplotlib, I noticed the
function get_py2exe_datafiles() in __init__.py that is not noted on
the FAQ. Before I update the FAQ, can you all tell me your best
practices recommendations for wrapping matplotlib?
In particular, is there a way I can store the
On Tue, Oct 02, 2007 at 10:42:13AM -0400, Paul Kienzle wrote:
> As I was building a py2exe distribution of matplotlib, I noticed the
> function get_py2exe_datafiles() in __init__.py that is not noted on
> the FAQ. Before I update the FAQ, can you all tell me your best
> practices rec
On Sat, Nov 03, 2007 at 05:43:55PM +0100, Olivier Verdier wrote:
> This is much worse than I thought. The "inch" unit is used in many places in
> matplotlib. In particular in `figure` and `savefig`. Please, please consider
> allowing other units. Let me emphasise this once more: in Europe, and, I
>
On Fri, Nov 09, 2007 at 01:39:10PM -0600, John Hunter wrote:
> On Nov 9, 2007 1:12 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote:
>
> > I've committed my changes on the transforms branch so you can play with
> > it -- I'm holding off on changing the trunk due to the pending release.
> > But if
Hi,
The attached patch has a couple of changes to the wx backend that I
want people to test before I commit.
1) implement draw_idle. Rather than using the wx IdleEvent which seemed
to be triggered too often I used a timer which is delayed and possibly
reset if a new draw request comes within a c
On Tue, Dec 11, 2007 at 10:22:12AM -0800, Christopher Barker wrote:
> Paul Kienzle wrote:
> > or if there are pending wx events. The scheme isn't perfect since wx
> > doesn't see all the native events, but it seems to work well enough.
>
> I'm confused her
Hi,
I have a patch which implements the scroll wheel on wx using the
wx mouse wheel event.
Rather than a simple up/down mouse event wx uses:
delta: intervals per click
rotation: number of clicks
rate: number of lines per click
I convert this to:
step = rotation*delta/rate
I've
I'm curious about the term 'threading backend'.
Recently I posted a question about how to handle slow plots, suggesting
that the backend canvas have an isabort() method so that the renderer
can stop what it is doing and post the current bitmap as it stands.
This is to support interactive operation
On Sun, Jan 27, 2008 at 11:43:16AM -0500, Darren Dale wrote:
> He also asked if it would be a good idea to render multiple figures into a
> tab
> widget instead of creating multiple windows. Its an interesting idea, but
> since the size of each figure may vary, it would mean each figure would ha
On Thu, Jan 31, 2008 at 08:38:35AM +0100, Rob Hetland wrote:
>
> I was just working with a student to do this. It is straightforward
> (using norms, as Eric suggests), but not short. I think it would be
> good to include wrappers for creating these norms to MPL.
>
> The advantage is then it
Hi,
I have a patch to post the results of examples/backend_driver.py to
a backend specific directory, after first clearing the directory.
Shall I commit?
- Paul
Index: backend_driver.py
===
--- backend_driver.py (revision
On Tue, Feb 05, 2008 at 03:58:08PM -0600, John Hunter wrote:
> On Feb 2, 2008 8:48 AM, Gael Varoquaux <[EMAIL PROTECTED]> wrote:
>
> > Here is the new patch. I added visual feedback when accumulating points.
> > I hope the docstrings are clear.
>
> Great -- thanks again. I applied this patch and
On Tue, Feb 05, 2008 at 01:05:55PM -1000, Eric Firing wrote:
> Paul Kienzle wrote:
> > Hi,
> >
> > I have a patch to post the results of examples/backend_driver.py to
> > a backend specific directory, after first clearing the directory.
>
> Excellent idea.
>
On Tue, Feb 05, 2008 at 11:23:14PM +0100, Gael Varoquaux wrote:
> On Tue, Feb 05, 2008 at 04:11:59PM -0600, John Hunter wrote:
> > Also, my version of GaelInput has seemed to stop evolving. This
> > version has the option to draw lines between clicks, which I use a
> > lot. Also, the default timeou
On Wed, Feb 06, 2008 at 12:38:32AM +0100, Gael Varoquaux wrote:
> On Tue, Feb 05, 2008 at 06:30:53PM -0500, Paul Kienzle wrote:
> > Setting the timeout to 0.01s for the busy loop in ginput seems excessive.
> > Since it is waiting for human interaction, generally 0.1 seconds is
On Wed, Feb 06, 2008 at 01:21:30AM +0100, Gael Varoquaux wrote:
> On Tue, Feb 05, 2008 at 07:16:59PM -0500, Paul Kienzle wrote:
> > I'll look around some more and see if I can find the sleep until next
> > event function in wx.
>
> Yeah, sleep, I need more of that. Or ma
On Wed, Feb 06, 2008 at 01:21:30AM +0100, Gael Varoquaux wrote:
> On Tue, Feb 05, 2008 at 07:16:59PM -0500, Paul Kienzle wrote:
> > How about giving flush_events() an until=condition and timeout=n keywords
> > so that flush_events becomes:
>
> > if timeout &g
On Fri, Feb 08, 2008 at 08:15:20AM +0100, Gael Varoquaux wrote:
> On Thu, Feb 07, 2008 at 11:31:11AM -0500, Paul Kienzle wrote:
> > There are two ways to do this in wx.
>
> > One is to use eventloop.Dispatch() which waits until the next available
> > event:
>
> &g
On Wed, Feb 13, 2008 at 08:24:35AM -0600, John Hunter wrote:
> As I mentioned in my earlier post, when we migrate to traits
> for matplotlib artist properties, we will get a pretty rich
> interactive UI configuration layer.
Any sense of when this might happen?
Is there anybody outside of enthough
On Tue, Feb 19, 2008 at 10:55:14AM -0500, Michael Droettboom wrote:
> 2) The picking code for a line assumes non-masked arrays. Since the
> Line class already keeps around a "compressed" version of the data for
> drawing, it is easy enough to use that instead of the raw data.
I didn't provide a
Hi,
In learning to make a nice plot for a small window on a web page,
I had to go through a number of contortions to get the layout correct.
Graph layout should be based on em and ex spacing rather than
portion of the viewable area. The attached file computes the
portions as best it can based on
Hi,
The superscripts in mpl don't seem to be placed at the correct height for
small fonts. The y-tics on the attached plot shows this. The effect is
similar in svg and pdf backends.
I'm using 0.91.2 because the latest svn version gives me a KeyError for
ufunc isfinite.
- Paul
<>--
On Mon, Apr 28, 2008 at 09:51:54AM -0400, Michael Droettboom wrote:
> Paul Kienzle wrote:
> >
> > Thanks. It looks much better in png, but pdf has the subscript raised much
> > higher,
> That was a DPI-related bug, that is hopefully now fixed in SVN.
> > and svg isn
On Fri, May 09, 2008 at 10:57:09AM -0500, Paul Novak wrote:
> Hello,
>
> I'm still interested in having a polygon symbol in the legend for a
> scatter plot. I've made some changes to the suggestion of Manuel Metz to
> make the legend symbol look better (the code-fragment from legend.py is
> bel
On Thu, May 22, 2008 at 02:44:43PM -0400, Darren Dale wrote:
> Here is the docstring for the texmanager module:
I saw this package for math markup mentioned in the docutils FAQ:
http://docutils.sourceforge.net/sandbox/jensj/latex_math/
It should allow you to include latex markup in the docstr
On Thu, May 22, 2008 at 06:12:15PM -0400, Darren Dale wrote:
> http://dale.chess.cornell.edu/~darren/temp/XPaXS/reflectivity.xml#matrix-method
>
> There is a "show source" link on the left that shows the original ReST wource
> for the current page, here is the math markup:
>
> :math:`sin(x_n^2)`
Hi,
We are developing an application for analysing and displaying
neutron scattering data in Python, and a big part of this
requires good graphics. We are looking for a user interface
developer with a science background to help us. Some of this
effort will be to improve the matplotlib backend.
On Thu, May 22, 2008 at 08:45:02PM -0500, John Hunter wrote:
> On Thu, May 22, 2008 at 6:08 PM, Paul Kienzle <[EMAIL PROTECTED]> wrote:
>
> > It looks okay in Firefox 2.0.0.14 (though it did complain about missing the
> > mathml
> > fonts).
> >
> > IE
Hi,
I created a menu for selecting colormaps from a context menu on the
graph. The attached code cmapmenu.py contains a runnable example.
I've only implemented support for wx.
In general, I would like to be able to add context menu operations
to individual artists on the plot, and will be doing
On Thu, Jul 17, 2008 at 08:50:03AM +0200, Manuel Metz wrote:
> Just because the discussion about clabel started, I want to post a short
> snipplet of code that I found useful. It was some sort of hack to get a
> nicer float formating for contours: contour lines represented confidence
> levels of
On Thu, Jul 17, 2008 at 09:46:16AM +0200, David M. Kaplan wrote:
> I don't think the blocking code will be that hard to maintain. It
> basically just depends on events, callback functions and time.sleep. If
> those are cross-platform, then it shouldn't be a problem. But only time
> will tell. M
On Thu, Jul 17, 2008 at 09:44:48PM +0200, David M. Kaplan wrote:
> Another option would be to create a start_event_loop function like Paul
> suggested and overload that function in those backends that aren't
> interactive so that it returns an error, but this requires writing one
> such function fo
On Fri, Jul 18, 2008 at 11:27:50AM +0200, David M. Kaplan wrote:
> Hi,
>
> On Thu, 2008-07-17 at 16:55 -0400, Paul Kienzle wrote:
> >FigureCanvasBase:
> >def start_event_loop(self, ...):
> >raise NotImplemented
> >FigureCan
On Fri, Jul 18, 2008 at 09:17:02PM +0200, David M. Kaplan wrote:
> For ginput, there are a number of ways that an impartial list could be
> returned and this is often a desired outcome (for example, I often
> decide after the fact that I want fewer points than I initially
> thought).
Can't you use
On Mon, Jul 21, 2008 at 04:42:39PM -0700, Ted Drain wrote:
> The public layer would just do conversions and then pass through to the
> private layer. Any code in the public layer would have to concern itself
> with possible different types (numpy vs lists, units vs floats, color names
> vs rgb).
1 - 100 of 123 matches
Mail list logo