Thomas Robitaille wrote:
> Hi,
>
> Is there an easy way to force a colorbar to not take up space from the Axes
> it is being plotted next to? In the following example, what I would like is
> for the top Axes to remain the same size as the bottom one, and for the
> colorbar to place itself on the r
Hi,
Is there an easy way to force a colorbar to not take up space from the Axes
it is being plotted next to? In the following example, what I would like is
for the top Axes to remain the same size as the bottom one, and for the
colorbar to place itself on the right of the top one. Is this easy to
MIchael,
That's it.
I don't have microsoft fonts installed, so it's really reverting to the
default font. When I put 'sans-serif', instead of 'Tahoma', it works
perfectly.
Thanks.
On Tue, Aug 4, 2009 at 11:40 AM, Michael Droettboom wrote:
> Can you add the following to the top of your script:
>
On Wed, Aug 5, 2009 at 9:40 AM, per freem wrote:
> hi all,
>
> is there a way in matplotlib to plot lines with errorbars, e.g. using
> errorbar(...) but instead of lines just have shaded, partly transparent
> regions that represent the error bars? people often use this to show
> confidence interval
On Wed, Aug 5, 2009 at 10:25 AM, Ryan May wrote:
>> is there a way to do this in matplotlib? thanks for your help.
>
> Not to be rude, but is there any reason you didn't look for pyplot.hexbin
> before sending the email? :)
Continuing in the non-rude vein :-) See these examples::
http://matplo
Matthias Michler wrote:
>
>
> #
> import numpy as np
> import matplotlib.pyplot as plt
>
> # generate some data on log-scale
> x = 10**np.random.uniform(size=1000)
> # histogram with log-bining
> plt.hist(x, bins=10**np.linspace(0, 1, 10))
> plt.xscale('log')
> plt.show
Thanks Mike,
you are right, I'm talking only about internationalizing the GUI messages.
In my opinion this make matplotlib more friendly to average users and
in some cases made programmers life easier.
Thanks,
Alexander Bruy
-- реклама ---
On Monday 03 August 2009 20:48:52 Thomas Robitaille wrote:
> Hi,
>
> What is the easiest way to plot a histogram with a logarithmic x-axis? The
> Axes.hist() method takes a log=True/False argument, but this applies only
> to the y axis.
>
> Is the only solution to plot a histogram of np.log10(array
On Wed, Aug 5, 2009 at 9:48 AM, per freem wrote:
> hi all,
>
> is there a way to make density plots using hexagonal bins in matplotlib?
> what i mean is something like the hexbin package for R, where you can make
> density plots where hexagons are plotted in size proportion to the number of
> poi
hi all,
is there a way to make density plots using hexagonal bins in matplotlib?
what i mean is something like the hexbin package for R, where you can make
density plots where hexagons are plotted in size proportion to the number of
points in that hexagonal bin... see
http://www.bioconductor.org/p
hi all,
is there a way in matplotlib to plot lines with errorbars, e.g. using
errorbar(...) but instead of lines just have shaded, partly transparent
regions that represent the error bars? people often use this to show
confidence intervals or error bars... an example is here:
http://eva.nersc.no/
Hi! I am basing my code off the example posted at:
http://www.scipy.org/Cookbook/Matplotlib/Gridding_irregularly_spaced_data
Gridding irregularly spaced data
When I use my own data, I am getting a KeyError (Posted below)
However, if I only use a subset of my data (for which the total
length=263
On Wed, Aug 5, 2009 at 8:23 AM, John Hunter wrote:
> On Wed, Aug 5, 2009 at 8:08 AM, Michael Droettboom wrote:
> > Images added to an axes get added to the axes' "images" member, so you
> can
> > simply remove it from there.
>
> It may be more efficient to call im.set_array(newdata) rather than
>
It appears that I am running 32 bit python. But my computer is a MacMini
with an Intel Core 2 Duo, which is supposed to be 64 bit. The python
distribution I have installed is Enthought. When I install enthought,
everything works smoothly and installs fine, but I would like to be able to
update t
On Wed, Aug 5, 2009 at 8:08 AM, Michael Droettboom wrote:
> Images added to an axes get added to the axes' "images" member, so you can
> simply remove it from there.
It may be more efficient to call im.set_array(newdata) rather than
creating a new image each time. Eg
http://matplotlib.sourceforg
2009/8/5 Michael Droettboom :
> I don't think this is related to Qt at all, but is illustrating some
> sort of bug in the font lookup code.
>
> Can you try removing fontList.cache and trying again? I *believe* it
> lives in "C:\Documents and Settings\${YOURNAME}\Local
> Settings\.matplotlib" on Wi
matplotlib currently has no i18n support. It would be a nice feature to
have, it would just take someone with the motivation to do it to provide
a patch. Python has gettext support in the standard library, so it
should be reasonably straightforward: just the usual busywork of finding
translata
I don't think this is related to Qt at all, but is illustrating some
sort of bug in the font lookup code.
Can you try removing fontList.cache and trying again? I *believe* it
lives in "C:\Documents and Settings\${YOURNAME}\Local
Settings\.matplotlib" on Windows, but I'm not a regular Windows u
Images added to an axes get added to the axes' "images" member, so you
can simply remove it from there.
I've attached a modified version of your script that does this. It uses
a global variable which is probably not best practice, but it should be
enough to give you the idea.
Cheers,
Mike
On Tuesday 04 August 2009, John Hunter wrote:
> Very odd. I suggest opening up setupext.py and finding the
> function "check_for_tk". There are a series of test which
> ultimately set the "gotit" variable to determine whether you have
> tk for building. Insert a lot of debug print statements thro
Hi JJ,
Thanks for that. It works fairly well, but I've noticed that the graph content
(the candlesticks) move slightly faster than the x axis. I've added a
sleep(0.1) statement to slow things down, and we can see that at the start the
first bar is displayed at around 13:15 but by the times is g
On Wed, Aug 5, 2009 at 5:55 AM, Michiel de Hoon wrote:
>
> I am seeing the following error with the GTKCairo and GTKAgg backends:
>
figure()
>
Traceback (most recent call last):
> File
> "/usr/local/lib/python2.6/site-packages/matplotlib/backends/backend_gtk.py",
> line 249, in enter_
I am seeing the following error with the GTKCairo and GTKAgg backends:
>>> figure()
>>> Traceback (most recent call last):
File
"/usr/local/lib/python2.6/site-packages/matplotlib/backends/backend_gtk.py",
line 249, in enter_notify_event
FigureCanvasBase.enter_notify_event(self, event, gu
Are you running 32-bits or 64-bits Python?
You can find out by running
>>> import sys
>>> print sys.maxint
This will show 2147483647 on 32-bits Python.
--Michiel.
--- On Tue, 8/4/09, Uri Laserson wrote:
> From: Uri Laserson
> Subject: Re: [Matplotlib-users] Building current SVN trunk on Mac O
Hi, list
I want to transtate NavagationToolbar tooltips in Russian and Ukrainian. Now
I can do this
only with creating custom toolbar (via subclassing) in code. Is there another
way to do this?
Maybe, there is any plans to add i18n support to some parts of matplotlib?
Thanks,
Alexander Bruy
Hi, all
I try to use last stable version of matplotlib 0.9.85.2 with PyQt 4.5.2 under
Windows XP Pro SP3, Python 2.5.2 and get error
Traceback (most recent call last):
File "/home/alex/.qgis//python/plugins/statist/statist.py", line 114, in
doCalcStats
d = doStatist.dlgStatist( self.iface )
26 matches
Mail list logo