Goulib.plot module

plotable rich object display on IPython/Jupyter notebooks

class Goulib.plot.Plot[source]

Bases: object

base class for plotable rich object display on IPython notebooks inspired from http://nbviewer.ipython.org/github/ipython/ipython/blob/3607712653c66d63e0d7f13f073bde8c0f209ba8/docs/examples/notebooks/display_protocol.ipynb

render(fmt='svg', **kwargs)[source]
save(filename, **kwargs)[source]

renders on IPython Notebook (alias to make usage more straightforward)


alias of type


Implement delattr(self, name).

__dir__() → list

default dir() implementation


Return self==value.


default object formatter


Return self>=value.


Return getattr(self, name).


Return self>value.


Return hash(self).


Initialize self. See help(type(self)) for accurate signature.


Return self<=value.


Return self<value.


Return self!=value.


Create and return a new object. See help(type) for accurate signature.


helper for pickle


helper for pickle


Return repr(self).


Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes


Return str(self).

Goulib.plot.render(plotables, fmt='svg', **kwargs)[source]

renders several Plot objects

Goulib.plot.png(plotables, **kwargs)[source]
Goulib.plot.svg(plotables, **kwargs)[source]
Goulib.plot.plot(plotables, **kwargs)
Goulib.plot.save(plotables, filename, **kwargs)[source]