Example with imageΒΆ

Another illustration.

../_images/sphx_glr_with_image_001.png

Out:

6.0

[<matplotlib.lines.Line2D object at 0x7f1268d436d8>]

from __future__ import print_function
from sample_module.mod1 import Class1
from matplotlib import pyplot

c = Class1()
r = c.a_method(1., 2., 3)
print(r)

pyplot.plot([1,2,3], [2.5, 0.5, 4.6])

Total running time of the script: ( 0 minutes 0.114 seconds)

Gallery generated by Sphinx-Gallery