1
vote
0answers
37 views

Getting point coordinates in Matplotlib plot

I'm using Ipython interpreter in Spyder environment. I would like to write a script to crop all the images in a folder at the same dimension. I plot the *.jpg image using Matplotlib. I would like to ...
1
vote
2answers
36 views

Trouble getting matplotlib to produce plots

I can get matplotlib to work in pylab (ipython --pylab), but when I execute the same command in a python script a plot does not appear. My workspace focus changes from a fullscreened terminal to a ...
0
votes
1answer
184 views

PythonXY, IPython Qt Console, matplotlib, draw something not in inline mode

I'm new to PythonXY and Matplotlib. I installed PythonXY (v2.7.3.1) in default full mode. I use the "IPython Qt Console" application. I draw something using matplotlib.pyplot (imported as plt). ...
2
votes
1answer
42 views

Odd exponent on plotting narrow range of data

I get a some very odd behaviour of matplotlib in an ipython notebook when trying to plot this data: [ -142.8916729, -142.89161936, -142.89161954, -142.89162066, -142.89162031, -142.89162033, ...
0
votes
1answer
183 views

How to properly install matplotlib on mac 10.7.5? And why is the command “conda” not found after Anaconda is successfully installed?

I tried for a long time to work with python on this Mac. I tried to remove python completely from my mac. Then I realized it was hard to get rid of this default python. Fortunately, I read in the ...
1
vote
0answers
34 views

matplotlib streamplot compresses the lines

I'm struggling to plot streamlines using matplotlib1.2 but I noticed it compress the line spaces in y direction. My data in y direction is from 0.5-1.5 but the streamlines are plotted between ...
0
votes
0answers
56 views

Error executing matplotlib.pyplot.subplots()

I have a script that creates png images from log data. It works fine on a production machine, but now spits errors on a new box while processing this line: fig, ax = plt.subplots(1,1, ...
0
votes
0answers
91 views

IPython --pylab working in emacs under windows

I am trying to get ipython --pylab working within emacs on windows. I have the latest ipython.el I am using python2.7, with the latest versions of emacs for windows. I am using the latest distribution ...
1
vote
0answers
105 views

Interactive plotting in a loop with matplotlib

I simply want to plot using matplotlib, via ipython, as my data comes in. I am opening ipython using the -pylab option. In the code below, the time.sleep(1) just acts as a place holder for the time it ...
2
votes
2answers
442 views

Unable to create plot in external window in Canopy ipython notebook

I just started using Canopy and it's very nice, but I am unable to create a figure in an external window in the iPython notebook. I would expect plot(rand(100)) in the notebook to create a new ...
1
vote
1answer
78 views

Redisplaying modified plot in subsequent IPython notebook cells

I am creating a demo using IPython notebook. I launch the notebook in the pylab inline mode, e.g. ipython notebook --pylab=inline, and what I would like to do is progressively build a plot, modifying ...
3
votes
1answer
1k views

ipython --pylab on cygwin: TclError: no display name and no $DISPLAY environment variable

I recently installed ipython as per instructions here: http://ardiyu07.blogspot.com/2012/04/ipython-012-installation-in-cygwin.html. When I run 'ipython --pylab' I get the error message below. I have ...
0
votes
2answers
386 views

Plot an IPython Notebook figure inline with fig.show()?

I'm calling the inline mode for IPython Notebook using; %pylab inline And the following code plots a figure immediately at the cell; fig = plt.figure() axes = fig.add_axes([0, 0, 1, 1]) However ...
0
votes
1answer
64 views

Mysterious IndexError

I've been getting errors similar to this recently: IndexError Traceback (most recent call last) <ipython-input-124-59ca523b1b36> in <module>() ----> 1 ...
1
vote
2answers
216 views

How to check that pylab backend of matplotlib runs inline?

I am modifying a python module that plots some special graphs using matplotlib. Right now, this module just saves all figures as files. I would like to make it possible to import the module while ...

1 2 3 4 5
15 30 50 per page