I am trying to change the underlying data for my plot via a pick event,
except that the matplotlib examples for picking show a couple of functions
with predefined signatures and I can't seem to figure out how to modify my
data from within those functions...how to do it?
Here is a minimal example
Hi
Working on my little experiment (backend with edition capabilities
https://github.com/fariza/MPL-Experimental-Backend)
I want to turn visibility on and off for lines.
I can not use the visible property, using it the autolimits "relim" keeps
considering the lines as being there.
As consequence
Thanks for responding. I do think the error is with how I prepare the data
(importing as a numpy array) because I have used matplotlib a million time
with no problems.
Maybe I should be taking this question elsewhere about importing the data
but thought I would add some more info.
The data in the t
On 03/12/2012 10:57 AM, Gias Uddin wrote:
> If I understand, this should have given me "TkAgg".
> so, the backend is not working properly.
No, the backend is fine, it is just the wrong one. Most likely, when you
built mpl, the libraries for the gui backends were not found.
Try:
sudo apt-get bui
It is a problem with the dialog, if you set the option DontUseNativeDialog.
then it works fine.
I guess that the problem is with Ubuntu 11.10.
On Mon, Mar 12, 2012 at 5:37 PM, Ray Osborn wrote:
> I think that QtGui.QFileDialog.getSaveFileName returns a tuple, the first
> element of which is the
I think that QtGui.QFileDialog.getSaveFileName returns a tuple, the first
element of which is the file name. You can ignore the second element by using:
fname, _ = QtGui.QFileDialog.getSaveFileName(self, 'Save file',
'/home/untitled.png', 'Images (*.png *.xpm *.jpg)')
Ray
On Mar 12, 2012, at 4
On Mon, Mar 12, 2012 at 4:30 PM, Sourabh Bajaj wrote:
> I am getting a segmentation fault when I try to declare a new image name. I
> can replace a existing image correctly. Why am I getting the error at the
> getSaveFileName dialog ??
[...]
> fname = QtGui.QFileDialog.getSaveFileName(self, 'Save
If I understand, this should have given me "TkAgg".
so, the backend is not working properly.
On Mon, Mar 12, 2012 at 4:49 PM, Gias Uddin wrote:
> >>> plt.get_backend()
> 'agg'
>
>
>
> On Mon, Mar 12, 2012 at 4:00 PM, Goyo wrote:
>
>> El día 12 de marzo de 2012 17:05, Gias Uddin escribió:
>> >
On Fri, Mar 9, 2012 at 1:14 PM, Wolfgang Draxinger <
wdraxinger.maill...@draxit.de> wrote:
> On Fri, 9 Mar 2012 11:19:15 -0600
> Benjamin Root wrote:
>
> > Can I have the data you used to produce these errorbars so I can test
> > this bug?
>
> Here's the data
>
> # Fluence -sigma Signal.
>>> plt.get_backend()
'agg'
On Mon, Mar 12, 2012 at 4:00 PM, Goyo wrote:
> El día 12 de marzo de 2012 17:05, Gias Uddin escribió:
> > I have posted the following message in StackOverflow about my problem
> with
> > graph plotting using python nltk using Matplotlib and numpy.
> > Advices will
On 03/12/2012 06:05 AM, Gias Uddin wrote:
> I have posted the following message in StackOverflow about my problem
> with graph plotting using python nltk using Matplotlib and numpy.
> Advices will be tremendously helpful. Thanks in advance.
>
> http://stackoverflow.com/questions/9661909/python-nltk
El día 12 de marzo de 2012 17:05, Gias Uddin escribió:
> I have posted the following message in StackOverflow about my problem with
> graph plotting using python nltk using Matplotlib and numpy.
> Advices will be tremendously helpful. Thanks in advance.
>
> http://stackoverflow.com/questions/96619
I have posted the following message in StackOverflow about my problem with
graph plotting using python nltk using Matplotlib and numpy.
Advices will be tremendously helpful. Thanks in advance.
http://stackoverflow.com/questions/9661909/python-nltk-plots-are-not-showing-up
-
Dear matplotlib-users,
I was wondering if it is possible to plot with matplotlib an errorbar
figure using color maps. Basically, I want to get a similar plot to
scatter(x,y,c=z,cmap=cmap) where z is an array of numbers, but with
the error bars showing the same color than their data points. Any
ide
On Sun, Mar 11, 2012 at 2:13 PM, Tony Yu wrote:
> Is it possible to draw an arrow with a dashed line?
>
> I tried using a fancy arrow patch and set the linestyle:
>
> #~~~
> import matplotlib.pyplot as plt
>
> fix, ax = plt.subplots()
> ax.set_xlim((-1,5))
> ax.set_ylim((-5,3))
>
> ax.annotate('s
On 03/11/2012 05:06 AM, aa wrote:
> How to Get symmetric plotting in pylab
> i tried this code:
> # -*- coding: utf-8 -*-
>
> """
>
> Created on Sat Mar 10 20:33:32 2012
>
> @author: fajar
>
> """
>
> from numpy import linspace, meshgrid, array
>
> import matplotlib.pyplot as pl
>
> import matp
Have you tried running with older checkouts on the master branch to
see when the problem was introduced? You can do something like:
git log --oneline --graph lib/matplotlib/backends/backend_qt4.py # or
backend_qt4agg.py
to see what commits were applied to master but not v1.0.x. Try
bisecting the
*bump*
Anyone else encountering this problem?
On Tue, Mar 6, 2012 at 4:06 PM, Keith Hughitt wrote:
> Hey all,
>
> Anyone know what has changed from Maplotlib 1.0.x to 1.1.x that might
> cause a PyQt4 application to segfault?
>
> Here is the code I'm working on:
> https://github.com/sunpy/sunpy/b
On Mon, Mar 12, 2012 at 8:04 AM, Neal Becker wrote:
> I have a figure with a semilogy plot. I need to make more room on the
> bottom to
> add a bunch of figtext, which is 4 lines of text.
>
> With the defaults, the text overprints the x-axis.
>
> What is a suggested way to fix this? (Ideally, m
I have a figure with a semilogy plot. I need to make more room on the bottom
to
add a bunch of figtext, which is 4 lines of text.
With the defaults, the text overprints the x-axis.
What is a suggested way to fix this? (Ideally, mpl would calculate the
appropriate sizes for me so things don't
On 12/03/12 13:40, Neal Becker wrote:
> Using this code:
>
> self.pdf = PdfPages('%s.%s.pdf' % (name, str(date.today(
>
> Trying to output a pdf with the name
>
> "results.abs_aci=[10.0, nan, 10.0].rate=['2/3', '4/5', '2/3'].2012-03-12.pdf"
>
> produces this error
>
> IOError: [Errno 2] N
Not sure if this is the right place to post this...please instruct if wrong
I'm plotting some audio data, which can get big, and alongside I have
subplots of barcharts that represent onsets, RMS etc...
Since I have many onsets plotting the whole thing at once results in such
dense barcharts that
Using this code:
self.pdf = PdfPages('%s.%s.pdf' % (name, str(date.today(
Trying to output a pdf with the name
"results.abs_aci=[10.0, nan, 10.0].rate=['2/3', '4/5', '2/3'].2012-03-12.pdf"
produces this error
IOError: [Errno 2] No such file or directory: "results.abs_aci=[10.0, nan,
10.0
Mic :
Thank you for your solutions. However, with my dataset it did not work
out with the following code:
...
Please find attached the histogram. The dataset I am sending with
next email.
1. You haven'sent *in.small.txt*, but *in.txt*, 70 MB, several millions
lines. Please, be g
On Sun, Mar 11, 2012 at 11:27 PM, gsal wrote:
>
> Don't have a solution; I was just wondering if you have tried something
> else,
> like using ipython instead of IDLE. ipython may be better suited for
> threading and working with pylab, etc.
>
>
Thanks for the reply. I do like ipython might try
25 matches
Mail list logo