On Wednesday 24 February 2010 00:45:56 David Goldsmith wrote:
> Hi! I'm trying to loop through all the built-in colormaps, applying each
> to an image before printing it to a file, then moving on to the next one.
>
> >>> from matplotlib import cm
> >>> for cmap in dir(cm): # cmap in cm doesn't wor
On Wed, Feb 24, 2010 at 3:06 AM, Matthias Michler
wrote:
> some time ago somebody proposed an example on the list to circle through all
> possible colormaps. In this time cm had an attribute "cm.cmapnames", which
> hold all these names, but nowerdays (svn-HEAD) this attribute has be removed
> and
On Tue, Feb 23, 2010 at 6:45 PM, David Goldsmith
wrote:
> 1) why doesn't this:
>
for cmap in dir(cm):
try:
ax.imshow(image, cmap)
canvas.print_figure('image_'+cmap)
except:
pass
>
> "work" (i.e., simply bypass those elements of dir(cm) which
On Wed, Feb 24, 2010 at 3:56 AM, David Goldsmith
wrote:
> cmap='LUTSIZE' does not create an image: it is an invalid value for imshow's
> cmap argument. Many images are created successfully by my loop before
> cmap='LUTSIZE' without me calling cla, and Friedrich's soln. works great
> w/out me h
The following was sent unintentionally in private e-mail (my e-mail
program always selects the sender as recipient first :-( ). I think
the solution by Jae-Joon is also elegant, but nevertheless the
following may be useful also (and maybe also in other places):
-- Forwarded message -
Hi,
I've tried to set the size of the main font by doing:
import matplotlib.pyplot as pyplot
font = {'size' : 'larger'}
pyplot.rc('font', **font)
as indicated in
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.rc
It failed with:
raise ValueError('Could not convert
The error is the 'size':'larger', not the passing as keyword arguments. Maybe
you try to stick (as "workaround") with a fixed number, like 'size':12
It's located in matplotlib/lib/matplotlib/rcsetup.py
def validate_float(s):
'convert s to float or raise'
try: return float(s)
except
Indeed, with a fixed value, I could bypass this, but the main issue is
that the documentation says that it should work (xx-small, x-small,
small, medium, large, ... although I don't know if it should be
larger, as indicated in rc() doc, or large as indicated in the font
size doc IIRC).
Matthieu
2
Hi all
Days ago I ask for tips about to improvemente my code on
http://dpaste.com/161149/
Today, it's work ok on my web app.
I fill it a form and when press submit I generate the graphic.
But, I fill it the form again and press submit again, it will generate a
second graphic
instead of reset th
Jae-Joon Lee wrote:
This seems to be a bug and I recommend you to file a bug.
This happens because Axis.set_ticklabels method only changes the
attributes of left (or bottom) tick labels.
Meanwhile, try
for t in colorbar.ax.get_yticklabels():
t.set_color("w")
-JJ
Thanks for the explanat
Anyone here going to the meeting, see Subject? As far as I can tell, it
meets from 7:30 to 9 pm. Their site shows no speaker yet, and there
seems to be an informal group dinner at 6 pm at some place yet unknown.
Are there other events and activities at the meeting? Pre-speaker
events? Demonstra
marc desmarais-2 wrote:
>
> I created a simple scatter plot and a service routine to print out the
> coordinates of the points I pick with the cursor (based on the demo). It
> works until I select the pan or zoom cursor. After I zoom or pan, I can
> no longer get back to the normal cursor whic
Kjell Magne Fauske wrote:
>
>
> I ran into the same problem today. Does someone know of a workaround? I
> use a recent version of matplotlib and the default tk backend. It seems
> like the tool bar overrides any user defined events. Is there a way to
> deactivate the zoom and pan cursors?
>
>
On 2/24/2010 2:36 AM, Friedrich Romstedt wrote:
> Can you explain to me why you are so restrictive about GPLed code? I
> mean, it's all OSS?
The licenses are very different: BSD (and MIT) do not impose a viral
copyleft. This is why Python is not GPL, nor is NumPy or Matplotlib.
People writing
I found a solutiont. sharing with everyone...
http://stackoverflow.com/questions/1874642/how-to-use-matplotlib-in-django
see ya
2010/2/24 Samuel Teixeira Santos
> Hi all
>
> Days ago I ask for tips about to improvemente my code on
> http://dpaste.com/161149/
>
> Today, it's work ok on my web a
On Wed, Feb 24, 2010 at 7:14 AM, Alan G Isaac wrote:
> On 2/24/2010 2:36 AM, Friedrich Romstedt wrote:
>> Can you explain to me why you are so restrictive about GPLed code? I
>> mean, it's all OSS?
>
>
> The licenses are very different: BSD (and MIT) do not impose a viral
> copyleft. This is w
http://neuroimaging.scipy.org/site/doc/manual/html/faq/johns_bsd_pitch.html:
> Many people choose the GPL when releasing a package because it is the most
> famous open source license, and did not consider issues such as those raised
> here when choosing a license.
Alan, Thank you for your commen
On Wed, Feb 24, 2010 at 8:17 AM, Friedrich Romstedt
wrote:
> I'm not shure whether someone can release software under GPL
> incorporating MIT licensed software? Otherwise I would release under
> dual license.
Yes, GPL projects can use MIT or BSD code, but not vice-versa.
--
How does one ensure that once a graph has been produced by Matplotlib
and that graph has been closed by the user that the program itself stops?
What I am currently getting is that when I close the graph pop-up window
and then close IDLE, I get a message that the program is still running
and am
Probably this change would upset John Tukey if he were alive.
I still wonder how you ignore the data since boxplot is there to represent
the data :)
Tell me how to undiff the changes then I will test your idea.
On Wed, Feb 24, 2010 at 12:03 AM, Ariel Rokem wrote:
> No - not the 'widths' kwarg
On Wed, Feb 24, 2010 at 11:51 AM, AG wrote:
> How does one ensure that once a graph has been produced by Matplotlib
> and that graph has been closed by the user that the program itself stops?
>
> What I am currently getting is that when I close the graph pop-up window
> and then close IDLE, I get
I looked at the examples online and have searched the newsgroup and am stuck.
I figured out how to place the table on the right hand side but now I would
like to have the table display as follows:
colors for headding
date clear Left in blueright in red
date Left Right
1.1.200
C M wrote:
On Wed, Feb 24, 2010 at 11:51 AM, AG wrote:
How does one ensure that once a graph has been produced by Matplotlib
and that graph has been closed by the user that the program itself stops?
What I am currently getting is that when I close the graph pop-up window
and then close IDLE
Hi
How do I set up my matplotlib.pyplot code so that the data for the
x-axis is plotted beginning at 1 not the default 0. To illustrate:
I have a set of time trials and error probability calculations. Trials
are x and scores are y. At present, the first trial is plotted on the
graph at 0 wh
On 24 February 2010 13:36, AG wrote:
> Hi
>
> How do I set up my matplotlib.pyplot code so that the data for the
> x-axis is plotted beginning at 1 not the default 0. To illustrate:
>
> I have a set of time trials and error probability calculations. Trials
> are x and scores are y. At present,
Angus McMorland wrote:
On 24 February 2010 13:36, AG wrote:
Hi
How do I set up my matplotlib.pyplot code so that the data for the
x-axis is plotted beginning at 1 not the default 0. To illustrate:
I have a set of time trials and error probability calculations. Trials
are x and scores are
Hello,
I'm also interested in getting this done and started playing with the classes
in
offsetbox.py. I'll post if I get something working.
The only way I can think of achieving the 'dropdown' effect is by changing
the 'visible' property on the children. Is this the way to do it? Any better
su
Dear matplotlib users,
I have a problem with my plots, it is that the plot
axes and the tick marks are too small, is there a way to increase the
'lineweight' and size of these basic features?
I am not asking about axis label text size and that of the
information inside the plot,
Hi! Sorry for the really elementary Q's but I'm not having much luck searching
the User Guide:
How do I turn all ticks off (i.e., the labels and the tick mark lines, on both
axes)?
Thanks!
DG
--
Download Int
On Wed, Feb 24, 2010 at 8:48 PM, David Goldsmith wrote:
> Hi! Sorry for the really elementary Q's but I'm not having much luck
> searching the User Guide:
>
> How do I turn all ticks off (i.e., the labels and the tick mark lines, on
> both axes)?
>
> Thanks!
>
> DG
>
>
>
Too dry but it is what yo
On Wed, Feb 24, 2010 at 5:45 PM, Matthew MacLeod wrote:
> Dear matplotlib users,
>
>I have a problem with my plots, it is that the plot
> axes and the tick marks are too small, is there a way to increase the
> 'lineweight' and size of these basic features?
>I am not asking about a
>
> Not sure how to update these in code yet. Let me know when you figure out :)
http://matplotlib.sourceforge.net/users/artists.html#axis-containers
>>
>> Also I often find that the xlabel is too close to the plot box
>> (xaxis) is there a way to increase this distance besides making my
I'm trying to interpolate from one grid to another using Basemap's
interp function. It seems to want the lat and lon axis of the new grid
to have the same shape:
3524 if xout.shape != yout.shape:
3535 raise ValueError, 'xout and yout must have same shape!'
The grid I'm interpolating to is 14
33 matches
Mail list logo