Setting interpolation="none" in imshow fixed the problem.
Thanks for the help,
Joshua
On Mon, Mar 19, 2012 at 11:34 AM, Joshua Lande wrote:
> Hi. I have attached a screenshot of the way the image looks when
> viewed by Preview on my mac, evince on my RHEL5 machine, and the built
> in google doc
Sorry...That first line should be:
fig, axes = plt.subplots(ncols=3) # note: subplotS not subplot
On Mon, Mar 19, 2012 at 5:45 PM, Paul Hobson wrote:
> Try it like this:
>
> fig, axes = plt.subplots(3,1,1)
> ax1, ax2, ax3 = axes
> p1, = ax1.plot(self.dat
Try it like this:
fig, axes = plt.subplots(3,1,1)
ax1, ax2, ax3 = axes
p1, = ax1.plot(self.data0,self.data1)
p2, = ax2.plot(self.data0,self.data2)
p3, = ax3.plot(self.data0,self.data4)
for ax in axes:
So when I add "np.logical_or" to the beginning of the script it makes no
difference to the error message that I receive.
I have tried reshaping the array but I receive an error message of:
Traceback (most recent call last):
File "", line 1, in
f.reshape(691,886)
ValueError: total size of ne
Hello,
I have been trying to figure out where my problem lies all day.
Details:
Mac Os X 10.6.8
Python/matplotlib : 1.1.0
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/__init__.pyc
Matplotlib obtained from sourceforge.
Running with ipython
Error Mes
On Mon, Mar 19, 2012 at 1:36 PM, Moore, Eric (NIH/NIDDK) [F] <
eric.moo...@nih.gov> wrote:
> From: Benjamin Root [mailto:ben.r...@ou.edu]
> Sent: Monday, March 19, 2012 2:00 PM
> To: Joshua Lande
> Cc: matplotlib-users@lists.sourceforge.net
> Subject: Re: [Matplotlib-users] Strange compression of
From: Benjamin Root [mailto:ben.r...@ou.edu]
Sent: Monday, March 19, 2012 2:00 PM
To: Joshua Lande
Cc: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] Strange compression of matplotlib's eps figures
...
Using Firefox, I see no difference between the two images. What are y
On Sun, Mar 18, 2012 at 5:07 PM, Joshua Lande wrote:
> Hello.
>
> I have run into a strange error where matplotlib compresses images
> that are saved with the eps backend. Strangely, this compression seems
> to happen only for images saved with certain figure sizes. I created a
> very simple exam
Awesome John!! Thank you very much for your help on this...
Guido
From: John Hunter [mailto:jdh2...@gmail.com]
Sent: Monday, March 19, 2012 12:52 PM
To: Espinosa, Guido R
Cc: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] Too Many Requests error - matplotlib gallery
On M
What are you using to view the SVG? This works for me in Inkscape,
Firefox and Google Chrome, but fails using rsvg 2.34 (which is used by
ImageMagick and emacs, for example). It seems that rsvg doesn't like
the clip path to appear after the object that uses it, even though this
is allowed by
Mario,
When you call fig.add_subplot as you are doing, ax1 is None. I'm not sure why,
but you don't need to set the xticks there anyway. Change your call to be ax1 =
fig.add_subplot(111) that way ax1 != None. Then plot, create ax2, plot. You
can then set the xticks by calling ax1.set_xticks
On Mon, Mar 19, 2012 at 12:46 PM, John Hunter wrote:
>
> Thanks, this has been going on for several days now and I just filed a
> ticket with sourceforge.
>
>
> https://sourceforge.net/apps/trac/sourceforge/ticket/24897
>
In the meantime, a slightly out of date version of the website is avail
On Mon, Mar 19, 2012 at 11:46 AM, wrote:
> Hi Guys,
>
> ** **
>
> Accessing the Matplotlib gallery is killing access to the sourceforce
> matplotlib site giving the “Too many requests” error. Anytime you access
> the gallery, and attempt to view source of any thumbnail, the site gives
> the
Hi Guys,
Accessing the Matplotlib gallery is killing access to the sourceforce
matplotlib site giving the "Too many requests" error. Anytime you access the
gallery, and attempt to view source of any thumbnail, the site gives the error.
Then, the entire website becomes unusable, for example, if
Hello.
I have run into a strange error where matplotlib compresses images
that are saved with the eps backend. Strangely, this compression seems
to happen only for images saved with certain figure sizes. I created a
very simple example which produces this behavior.
import pylab as P
impor
Hello,
I to set custom xticks is usually used
fig = plt.figure()
ax1 = fig.add_subplot(xticks=[10,40,90])
plt.plot(range(100))
I now need to have a second y-axis and tried
fig = plt.figure()
ax1 = fig.add_subplot(xticks=[10,40,90])
plt.plot(range(100))
ax2 = plt.twinx()
plt.plot([x*x for x in
Hi,
when i have a dataset that covers an area larger than the area i want
to show in my plot, then it should be clipped to the ranges i set to the
axes (at least that is what i am expecting). when i do so and save the
plot to a png-file everything is fine. but if i save it to an svg file,
the plo
Or, more likely, PEBCAK, but here goes:
Following along with this example:
http://matplotlib.sourceforge.net/examples/api/font_family_rc.html
I tried the following (changing to comic sans so that "success" would be clear):
from matplotlib import rcParams
rcParams['font.family'] = 'sans-serif'
rc
Hello,
I to set custom xticks is usually used
fig = plt.figure()
ax1 = fig.add_subplot(xticks=[10,40,90])
plt.plot(range(100))
I now need to have a second y-axis and tried
fig = plt.figure()
ax1 = fig.add_subplot(xticks=[10,40,90])
plt.plot(range(100))
ax2 = plt.twinx()
plt.plot([x*x for x in
19 matches
Mail list logo