Package PyFoam :: Package Basics :: Module XkcdMatplotlibTimelines :: Class XkcdMatplotlibTimelines
[hide private]
[frames] | no frames]

Class XkcdMatplotlibTimelines

source code


This class opens a matplotlib window, modifies it to XKCD-mode and plots a timelines-collection in it

Instance Methods [hide private]
 
__init__(self, timelines, custom, showWindow=True, registry=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

    Inherited from MatplotlibTimelines.MatplotlibTimelines
 
actualSetTitle(self, title)
Sets the title
source code
 
buildData(self, times, name, title, lastValid)
Build the implementation specific data
source code
 
doHardcopy(self, filename, form)
Write the contents of the plot to disk
source code
 
doReplot(self)
Replot the whole data
source code
 
preparePlot(self)
Prepare the plotting window
source code
 
setXLabel(self, title)
Sets the label on the X-Axis
source code
 
setYLabel(self, title)
Sets the label on the first Y-Axis
source code
 
setYLabel2(self, title)
Sets the label on the second Y-Axis
source code
    Inherited from GeneralPlotTimelines.GeneralPlotTimelines
 
getNames(self)
Get the names of the data items
source code
 
hasData(self)
Check whether there is any plotable data
source code
 
hasTimes(self)
Check whether this timeline contains any timesteps
source code
 
redo(self)
Replot the timelines
source code
 
setTitle(self, title)
Sets the title
source code
 
testAlternate(self, name) source code
Class Variables [hide private]
    Inherited from MatplotlibTimelines.MatplotlibTimelines
  figureNr = 1
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, timelines, custom, showWindow=True, registry=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • timelines (TimeLineCollection) - The timelines object
  • custom - A CustomplotInfo-object. Values in this object usually override the other options
Overrides: object.__init__