set_position does not work with axes_grid toolkits.
Try something like
ax.LABELPAD = 0
However, note that this (and set_rotation) may not work with
mpl_toolkits in future release of matplotlib as there has been some
significant changes.
Regards,
-JJ
ps. please use "reply to all", so that mess
On Mon, 2010-02-01 at 15:23 -1000, Eric Firing wrote:
> Alternatively, and more simply, why make the transparent regions in the
> first place?
>
> cs = contourf(rand(10,10), [0.5, 0.7], colors=('b'))
>
> Here we specify a single pair of limits between which the color will be
> blue.
Well, tha
Hi all,
One of the most persistent problems I have with matplotlib is finding
out which kwargs and args are available for some commands.
For instance, I am looking at manipulating axis ticks and labels in
mplot3d, so I went to the mplot3d api page, and looked for useful
commands and found:
set_
Sourav K. Mandal wrote:
> Hello,
>
> (This is a different question for the same project that led me to file a
> bug about alpha blending in "contour" .)
>
> I want to overlay a number of exclusion regions in a 2D parameter scan.
> I generate each region with contourf in succession, like:
>
>
Hello,
(This is a different question for the same project that led me to file a
bug about alpha blending in "contour" .)
I want to overlay a number of exclusion regions in a 2D parameter scan.
I generate each region with contourf in succession, like:
contourf(x,y,unphys,(1),alpha=1,colors=('
Works for me! Although I did not test with Jorges's original code which caused
the regression.
Do you still want me to file a bug report so the issue is tracked?
Thanks,
-Ben
-Original Message-
From: John Hunter [mailto:jdh2...@gmail.com]
Sent: Monday, February 01, 2010 5:47 PM
To:
On Mon, Feb 1, 2010 at 4:34 PM, John Hunter wrote:
> On Mon, Feb 1, 2010 at 3:47 PM, Jae-Joon Lee wrote:
>
>> I agree.
>> Unfortunately, event handling is not my specialty, and given no response
>> from other developers, I recommend you file a bug (and hope other developers
>> fix this).
>
> I wr
On Mon, Feb 1, 2010 at 3:47 PM, Jae-Joon Lee wrote:
> I agree.
> Unfortunately, event handling is not my specialty, and given no response
> from other developers, I recommend you file a bug (and hope other developers
> fix this).
I wrote the original functionality and example and do consider thi
On Mon, Feb 1, 2010 at 4:30 PM, Ben Axelrod wrote:
> This still seems like a regression bug to me. Especially since
> matplotlib's own example code clearly shows that picking labels, titles, and
> tick labels outside the axes region should be possible with the standard
> picker. If the current
Here is a slightly revised version of your script.
It has a separate axes for labeling whose width is determined by the
maximum width of the labels (using MaxExtent from axes_grid toolkit).
Give it a try and see if it fits your needs.
Regards,
-JJ
import numpy as np
import matplotlib.pyplot as
Thanks for the workaround. I got it to work for the labels and title, but not
axes tick labels.
This still seems like a regression bug to me. Especially since matplotlib's
own example code clearly shows that picking labels, titles, and tick labels
outside the axes region should be possible wi
See if the example below works.
plot([1,2,3], label="test")
a=legend()
import matplotlib.offsetbox as offsetbox
txt=offsetbox.TextArea("Test 2")
box = a._legend_box
box.get_children().append(txt)
box.set_figure(box.figure)
For more control of legend, see the link below.
http://abitofpythonabito
Are you using the axes_grid toolkit?
Standard matplotlib axis instance does not have "major_ticklabels"
attribute, while axes_grid axis does.
Please post a simple, but complete example that can be run and tested.
Regards,
-JJ
On Sun, Jan 31, 2010 at 11:06 AM, wrote:
> BTW: I tried to use set_
Current "pick" implementation explicitly checks if the event is inside the
axes.
So, you cannot pick artists outside the axes area. This seems more like an
intended "feature" than a bug, but I may be wrong. And my guess is that this
is to prevent picking invisible artists (as they are clipped).
Wh
I would like to use Axes3D embedded in Wx. This works, but there is no mouse
rotation. Clicking and dragging the mouse on the plot does not rotate the 3D
axes like it does in the "scatter3d_demo.py". I tried: WX, WXAgg, and TkAgg
with similar results. Can this be fixed soon, or can someone p
Yannick Copin wrote:
> Hi,
>
> I would like to plot lots of error ellipses on my plot. I thought I
> could use an EllipseCollection to do so, but I didn't manage to get the
> ellipse sizes, expressed in data units, right (see test script attached).
>
> When using a plain list of Ellipse's, ever
Scott Sinclair wrote:
>> On 1 February 2010 11:34, Torsten Andre wrote:
>> I've got a a pylab 2D array which I plot using imshow() which just works
>> fine. But part of the data within the array is not to be considered nor
>> plotted.
>>
>> My problem is that I don't know how to plot the data agai
Hi
thanks for the answers, but I do not think it is applicable in this
situation.
In the application I have an event that triggered (e.g., a button is
pressed) the opening of the window by pylab.figure() and then the
application shows (via figure pylab.show()) it to the user. So, the user
defines
Hi,
I would like to plot lots of error ellipses on my plot. I thought I could use
an EllipseCollection to do so, but I didn't manage to get the ellipse sizes,
expressed in data units, right (see test script attached).
When using a plain list of Ellipse's, everything looks fine:
ells = [ P.ma
Have you tried the pylab.close() this should force the flush of the memory.
2010/2/1 Tanja Gurzhiy
> Hi,
>
>
>
> I have already submitted this issue as a possible problem to Tracker,
> however there is no response till now
> http://sourceforge.net/tracker/?func=detail&aid=2940967&group_id=80706&
Hi,
I have already submitted this issue as a possible problem to Tracker,
however there is no response till now
http://sourceforge.net/tracker/?func=detail&aid=2940967&group_id=80706&atid=560720.
Probably, someone could help me with possible workaround for this problem.
I use the pylab.figure
>On 1 February 2010 11:34, Torsten Andre wrote:
> I've got a a pylab 2D array which I plot using imshow() which just works
> fine. But part of the data within the array is not to be considered nor
> plotted.
>
> My problem is that I don't know how to plot the data again.
Hi Torsten,
Use NumPy ma
Hi there,
I've got a a pylab 2D array which I plot using imshow() which just works
fine. But part of the data within the array is not to be considered nor
plotted. To keep it simple let's assume the data I need is shaped like a
triangle. It is no problem to extract the data from the matrix
convert
Hi again,
I've fixed the issue on my box. The issue lies in the definition of
the hash_map. For ICC for Linux, the GCC headers should be used.
Matthieu
2010/1/29 Matthieu Brucher :
> Hi,
>
> It seems that the compilation of base_format needs a C++ compiler, but
> distutils launches icc instead o
24 matches
Mail list logo