[Thread Prev][Thread Next][Index]

Re: [ferret_users] Pyferret help - plotting ensembles



Hi Randye,

When in a notebook, the plot needs to be written to image file and then the image file displayed in the notebook.
Patrick Brockmann's ipython_ferretmagic package does a lot of that for you, so I am wondering if you are using that.
The README.md at https://github.com/NOAA-PMEL/PyFerret gives the info:
The latest ferretmagic module from Patrick Brockmann for using PyFerret with the iPython notebook can be obtained using `pip install ferretmagic`, or see http://pypi.python.org/pypi/ferretmagic. Note that this only installs the ferretmagic module for PyFerret; it does not install PyFerret.

Kind regards,
Karl
 

On Thu, Apr 4, 2019 at 8:12 AM Randye l Rutberg <rrutberg@xxxxxxxxxxxxxxx> wrote:
Dear Ferret users,

i have been trying analyze a time series for an ensemble run using Pyferret. I wrote a script that worked to generate curves representing the minimum, maximum and average values of the ensemble for the 1000 year time series.  I also used the go script fill_between to shade the area between the min and max sign. At some point the code stopped working. When I try to run it in jupyter lab or notebook, it returns a ferret prompt that says “yes?” and there is an empty box next to the prompt. I can type text into the box.

I know the code itself should work because I ran the exact same code as a ferret script and it generated the plot. Does anyone have a clue why this is happening and how I can fix it?

Thank you,

Randye

Dr. Randye Rutberg
Assistant Professor
Department of Geography
Hunter College of the City University of New York

Office: 1047 Hunter North
Phone: 212 772 5326
Fax:      212 772 5268
Email:   rrutberg@xxxxxxxxxxxxxxx
Snail mail:  695 Park Ave
                   New York, NY  10021
Dr. Randye Rutberg
Assistant Professor
The Department of Geography
Hunter College of the City University of New York
695 Park Ave
New York, NY 10065

email:rrutberg@xxxxxxxxxxxxxxx
phone: 212 772 5326






--
Karl M. Smith, Ph.D.
JISAO Univ. Wash. and PMEL NOAA
"The contents of this message are mine personally and do
not necessarily reflect any position of the Government
or the National Oceanic and Atmospheric Administration."

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement