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]
png(**kwargs)[source]
svg(**kwargs)[source]
html(**kwargs)[source]
plot(**kwargs)[source]

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

__class__

alias of type

__delattr__

Implement delattr(self, name).

__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init__

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

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__()

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

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__

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]