Re: [matplotlib-devel] a patch to have a correct baseline when usetex=True

2008-08-29 Thread Jae-Joon Lee
x & = 2 >y & = 2 > \end{align} > > Plus, Sphinx is BSD-licensed, so it should be fine to copy-and-paste > whatever code is necessary. > > Of course, latex-preview is required to be installed, but I think it's a > pretty common package. > > See here: >

Re: [matplotlib-devel] a patch to have a correct baseline when usetex=True

2008-09-02 Thread Jae-Joon Lee
ri, Aug 29, 2008 at 12:04 PM, Jae-Joon Lee <[EMAIL PROTECTED]> wrote: > Thanks, > > I quickly went through the code of the pngmath.py, and it seems that > the depth(descent) of the dvi file is reported by "dvipng" (but the > preview package must be used in the tex file

[matplotlib-devel] setting the font name directly

2008-09-03 Thread Jae-Joon Lee
Hello, When I need to use unicode string in matplotlib, I often set the font name directly as below. import matplotlib.font_manager as fm fp1=fm.FontProperties(fname="/users/research/lee/.fonts/malgun.ttf") This used to work. But not anymore. And I guess this is related with a recent change in

[matplotlib-devel] incorrect rendering of quadratic bezier path in ps and pdf backend

2008-09-06 Thread Jae-Joon Lee
Hello, It seems that the pdf and ps backends draw the quadratic bezier line incorrectly. Here is a little test script. # -- begin test script -- import matplotlib.pyplot as plt import matplotlib from matplotlib.path import Path from matplotlib.patches import PathPatch plt.clf() ax = plt.gca() a

Re: [matplotlib-devel] error when plotting with point markers in latest SVN

2008-09-08 Thread Jae-Joon Lee
> > I am getting errors any time I try to plot with markers for the points > (using the GTKAgg backend). My SVN repo copy has a lot of my own > changes in it, but I don't think these errors are associated with those > changes. Can someone confirm this is a bug? Example below. I also don't see t

Re: [matplotlib-devel] fancy box around text

2008-09-11 Thread Jae-Joon Lee
tist() function. So, could you elaborate how you want things arranged? Regards, -JJ On Thu, Sep 11, 2008 at 4:07 PM, John Hunter <[EMAIL PROTECTED]> wrote: > On Thu, Sep 11, 2008 at 1:13 PM, Jae-Joon Lee <[EMAIL PROTECTED]> wrote: > >> It would be good if these can

Re: [matplotlib-devel] fancy box around text

2008-09-12 Thread Jae-Joon Lee
ps. I just wanted to mention that implementing these fancy boxes became possible with the bezier path support in matplotlib. So my thanks to Michael. On Fri, Sep 12, 2008 at 11:45 AM, John Hunter <[EMAIL PROTECTED]> wrote: > On Thu, Sep 11, 2008 at 4:19 PM, Jae-Joon Lee <[EMAIL PROTECTED

Re: [matplotlib-devel] fancy box around text

2008-09-17 Thread Jae-Joon Lee
p 12, 2008 at 2:46 PM, Jae-Joon Lee <[EMAIL PROTECTED]> wrote: >> Thanks John, >> >> I think I'd better use a sf patch initially so that you or others can >> review and improve it. I'll definitely need some help with >> documentation as my English can be ho

Re: [matplotlib-devel] fancy box around text

2008-09-17 Thread Jae-Joon Lee
Thanks John, I made a single diff file and uploaded it. https://sourceforge.net/tracker/index.php?func=detail&aid=2116614&group_id=80706&atid=560722 Regards, -JJ On Wed, Sep 17, 2008 at 3:01 PM, John Hunter <[EMAIL PROTECTED]> wrote: > On Wed, Sep 17, 2008 at 1:30 PM,

Re: [matplotlib-devel] fancy box around text

2008-09-17 Thread Jae-Joon Lee
ooked at this carefully, but this might only happen in some specific backends (I'm using GtkCairo). Anyhow, as a workaround, in the draw() method, _draw_bbox() is called before the gc is created. On Wed, Sep 17, 2008 at 3:49 PM, Jae-Joon Lee <[EMAIL PROTECTED]> wrote: > Thanks John,

[matplotlib-devel] color mix

2008-09-17 Thread Jae-Joon Lee
Hello, Attached is a small patch to add a simple color mix operation support. For example, "red!30!white" mixes 30% of red with 70% of white. The syntax is borrowed from latex xcolor package (http://www.ukern.de/tex/xcolor.html). I found it quite handy with the fancy box thing. plt.text(0.6, 0.5,

Re: [matplotlib-devel] fancy box around text

2008-09-17 Thread Jae-Joon Lee
Thanks John, Everything seems fine. Thanks again, -JJ On Wed, Sep 17, 2008 at 4:53 PM, John Hunter <[EMAIL PROTECTED]> wrote: > On Wed, Sep 17, 2008 at 2:49 PM, Jae-Joon Lee <[EMAIL PROTECTED]> wrote: > >>>> I uploaded my patch. >>>> >>>>

Re: [matplotlib-devel] color mix

2008-09-18 Thread Jae-Joon Lee
Thanks for the positive feedback! Okay, I'll add a proper documentation for it and upload the patch again. -JJ On Thu, Sep 18, 2008 at 9:47 AM, John Hunter <[EMAIL PROTECTED]> wrote: > On Thu, Sep 18, 2008 at 8:35 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: >> That's a cool feature, and on

Re: [matplotlib-devel] color mix

2008-09-23 Thread Jae-Joon Lee
Hi. I don't think my last message (sent a few days ago) made it to the mailing list. I'm reposting it again. On Fri, Sep 19, 2008 at 4:50 PM, Jae-Joon Lee <[EMAIL PROTECTED]> wrote: > I just uploaded a slightly modified patch with more doumentations. > > http://sourcefo

[matplotlib-devel] yet another fancy arrow, etc

2008-09-23 Thread Jae-Joon Lee
Hello, I'm working on the fancy annotation thing I mentioned the other day, and I want to have some feedback and advice. As you see (http://dl.getdropbox.com/u/178748/test_fancy_annotation.jpg), the annotation will be consist of a fancy box + fancy arrow. And my current plan is to put the fancy a

Re: [matplotlib-devel] yet another fancy arrow, etc

2008-09-24 Thread Jae-Joon Lee
> > Well merging is obviously better. I wrote YAArrow to support > plain-vanilla annotations. AFAIK, they are used nowhere else, so as > long as we could come up with one arrow class that works with > plain-vanilla and fancy annotations, that would be good. But it may > be easier said than done.

Re: [matplotlib-devel] Bug in print_figure with bbox_inches='tight'? Plots in ipython notebook losing titles and labels...

2012-01-29 Thread Jae-Joon Lee
On Mon, Jan 30, 2012 at 5:26 AM, Jeff Whitaker wrote: > unless matplotlib takes into account all the artist > objects associated with a figure. My primary reason behind not accounting all the artists was that, in general, Matplotlib does not know the exact bounding box of artists when the artists

Re: [matplotlib-devel] Bug in print_figure with bbox_inches='tight'? Plots in ipython notebook losing titles and labels...

2012-01-29 Thread Jae-Joon Lee
Please see if this PR works. https://github.com/matplotlib/matplotlib/pull/689 Regards, -JJ On Mon, Jan 30, 2012 at 1:03 PM, Jae-Joon Lee wrote: > On Mon, Jan 30, 2012 at 5:26 AM, Jeff Whitaker wrote: >> unless matplotlib takes into account all the artist >> objects associate

Re: [matplotlib-devel] 1.1.1rc does not fix tight_layout for figtext?

2012-03-28 Thread Jae-Joon Lee
I'm afraid that, unfortunately, it won't be fixed soon (if ever, as far as I can tell). What "tight_layout" does is to adjust the *subplot parameters* of the figure so that the "subplots" fit in. Artists created with figtext command is not affected by the subplot parameters, i.e. there is not much

Re: [matplotlib-devel] Inconsistent naming of legend points

2012-04-19 Thread Jae-Joon Lee
I think what we may do is to make the default value of "scatterponts" to None, and if None, set it to the value of numpoints. But, I want to hear how others think about it. Regards, -JJ On Fri, Mar 30, 2012 at 11:39 PM, Pim Schellart wrote: > Dear all, > > there is an inconsistency in the nam

Re: [matplotlib-devel] Added Phil Elson as a developer

2012-05-31 Thread Jae-Joon Lee
Welcome aboard, Phil! Regards, -JJ On Thu, May 31, 2012 at 8:55 PM, John Hunter wrote: > Phil Elson has been making pull requests for some time now on matters > great and small, from hairy transformations improvements to minor > docstring cleanups to GUI fixes.  Given his prolific work, I tho

Re: [matplotlib-devel] gca() returns Axes

2012-08-29 Thread Jae-Joon Lee
On Wed, Aug 22, 2012 at 6:40 AM, Eric Firing wrote: > Correction: now I can't reproduce what I thought I was seeing; plt.gca() > is returning an AxesSubplot as it should. Maybe the problem is in the > axes_grid1 toolkit. It is appearing in the last figure of the > tight_layout tutorial in the do

Re: [matplotlib-devel] strategy for 1.2.x, master, PEP8 changes

2012-10-14 Thread Jae-Joon Lee
I'd agree with Eric on most of his points. On Mon, Oct 15, 2012 at 5:22 AM, Eric Firing wrote: > If some of the PEP8 commits include genuine bug-fixes that need to be in > v1.2.x, then these fixes should be made via PRs directly against v1.2.x. I think it is not a good idea to have a PR that mix

Re: [matplotlib-devel] Misalignment imshow vs. grid lines

2012-10-29 Thread Jae-Joon Lee
On Tue, Oct 30, 2012 at 12:25 AM, Nicolas Rougier wrote: > > > Thanks for testing. > > If I zoom at any line cross, the lines are definitely at the wrong place for > me. As jules hummon commented, I see lines in right places when I zoom in. > As for screen aliasing I'm not sure since both the

Re: [matplotlib-devel] Use of meta on Artist

2012-11-30 Thread Jae-Joon Lee
Note that we already use a decorator for a similar purpose (allow_rasterization). Also, please note that the "draw" method is not just for drawing things. There are other things being done within the draw method, and I think some of them still need to be done even though the artist is invisible.

Re: [matplotlib-devel] "Flash" rendering in the Agg backend

2013-03-06 Thread Jae-Joon Lee
While I cannot say much about the "compound renderering" in Agg as I know little about it, but the upsampling method that Mike mentioned seems quite robust. Just a quick question, will it affect the rendered quality of AA'ed artists, like texts? What I mean is, drawing texts w/ AA on (in the upsamp

<    1   2   3