Bug #1834

Python examples do not work in Jupiter notebook

Added by pospelov over 1 year ago. Updated over 1 year ago.

Status:ResolvedStart date:11 Aug 2017
Priority:NormalDue date:
Assignee:pospelov% Done:

0%

Category:-
Target version:Sprint 35

History

#1 Updated by pospelov over 1 year ago

  • Status changed from Sprint to Resolved

Occasionally fixed during #1803. To let user working from Jupyter now, I have prepared 1.9.99 bundle in http://apps.jcns.fz-juelich.de/src/BornAgain/experimental/. See also mail to Rainer.

Dear Rainer,

this was a bug in our code and it was already fixed in our development branch couple of weeks ago.

For the moment you can try our development builds from
http://apps.jcns.fz-juelich.de/src/BornAgain/experimental/

Alternatively, you can keep using 1.9.0, just replace the line
    ba.plot_intensity_data(result)

with
    from matplotlib import pyplot as plt
    ba.plot_colormap(result)
    plt.show()

The release 1.10.0 is scheduled for the end of September. If we discover more bugs, then bugfix release might come sooner.

Also available in: Atom PDF