[Matplotlib-users] Best way to display image from URL in Python3

2015-03-19 Thread Ryan Nelson
Hello all, I'm porting over some code that used Py2.7 urllib2.urlopen(url) to grab some image data from the net and load with pyplot.imread. It doesn't work quite right in Py3.4. I found a couple of refs: https://github.com/matplotlib/matplotlib/pull/1650 http://stackoverflow.com/questions/151831

Re: [Matplotlib-users] segmentation fault when saving images

2015-03-19 Thread Benjamin Root
well, that still doesn't explain the segfaults. NaNs shouldn't cause matplotlib to crash upon saving. I would still be interested in a stacktrace. Ben On Thu, Mar 19, 2015 at 1:27 PM, Gabriele Brambilla < gb.gabrielebrambi...@gmail.com> wrote: > Actually Paul Hobson was right. > > Now it works.

[Matplotlib-users] ANN: HoloViews 1.0 released

2015-03-19 Thread Jean-Luc Stevens
We are pleased to announce the first public release of HoloViews, a Python package for scientific and engineering data visualization: http://ioam.github.io/holoviews HoloViews provides composable, sliceable, declarative data structures for building even complex visualizations easily. It's de

Re: [Matplotlib-users] segmentation fault when saving images

2015-03-19 Thread Gabriele Brambilla
Actually Paul Hobson was right. Now it works. Thanks Gabriele On Thu, Mar 19, 2015 at 1:19 PM, Benjamin Root wrote: > The warnings probably have nothing to do with the issue at hand. Try this. > Install the package "faulthandler" and add the appropriate lines to your > Bdipoly.py script and r

Re: [Matplotlib-users] segmentation fault when saving images

2015-03-19 Thread Benjamin Root
The warnings probably have nothing to do with the issue at hand. Try this. Install the package "faulthandler" and add the appropriate lines to your Bdipoly.py script and run it again. That way, we can get a traceback and find out where it is segfaulting from. http://faulthandler.readthedocs.org/en

Re: [Matplotlib-users] segmentation fault when saving images

2015-03-19 Thread Paul Hobson
What happens when you edit your program to avoid dividing by zero? -p — Sent from Mailbox On Thu, Mar 19, 2015 at 10:14 AM, Gabriele Brambilla wrote: > Hi guys, > I don't understand why now, after I save an image when it is prompted out, > the image is not saved and it closes automatically a

[Matplotlib-users] segmentation fault when saving images

2015-03-19 Thread Gabriele Brambilla
Hi guys, I don't understand why now, after I save an image when it is prompted out, the image is not saved and it closes automatically and on the terminal appears segmentation fault. this is what my terminal shows: [gs66-stumbras:~/Desktop] gbrambil% python Bdipole.py Bdipole.py:52: RuntimeWarn