Package topo :: Package plotting :: Module plot :: Class Plot
[hide private]
[frames] | no frames]

Class Plot

source code

                       object --+    
                                |    
param.parameterized.Parameterized --+
                                    |
                                   Plot
Known Subclasses:

Simple Plot object constructed from a specified PIL image.
Nested Classes [hide private]

Inherited from param.parameterized.Parameterized: __metaclass__

Instance Methods [hide private]
 
__init__(self, image=None, **params)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
rescale(self, scale_factor)
Change the size of this image by the specified numerical factor.
source code
 
set_scale(self, scale_factor)
Specify the numerical value of the scaling factor for this image.
source code
 
label(self)
Return a label for this plot.
source code

Inherited from param.parameterized.Parameterized: __getstate__, __repr__, __setstate__, __str__, debug, defaults, force_new_dynamic_value, get_param_values, get_value_generator, inspect_value, message, print_param_values, script_repr, set_dynamic_time_fn, state_pop, state_push, verbose, warning

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Methods [hide private]

Inherited from param.parameterized.Parameterized: params, print_param_defaults

Class Variables [hide private]
  staleness_warning = param.Number(default= 10, bounds= (0, None...
Time length allowed between bitmaps making up a single plot before warning.

Inherited from param.parameterized.Parameterized: name, print_level

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, image=None, **params)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

rescale(self, scale_factor)

source code 

Change the size of this image by the specified numerical factor.

The original image is kept as-is in _orig_bitmap; the scaled image is stored in bitmap. The scale_factor argument is taken as relative to the current scaling of the bitmap. For instance, calling scale(1.5) followed by scale(2.0) will yield a final scale of 3.0, not 2.0.

set_scale(self, scale_factor)

source code 

Specify the numerical value of the scaling factor for this image.

The original image is kept as-is in _orig_bitmap; the scaled image is stored in bitmap. The scale_factor argument is taken as relative to the original size of the bitmap. For instance, calling scale(1.5) followed by scale(2.0) will yield a final scale of 2.0, not 3.0.


Class Variable Details [hide private]

staleness_warning

Time length allowed between bitmaps making up a single plot before warning.

If the difference between the SheetView with the earliest timestamp and the one with the latest timestamp is larger than this parameter's value, produce a warning.

Value:
param.Number(default= 10, bounds= (0, None), doc= """
       Time length allowed between bitmaps making up a single plot before warning.

       If the difference between the SheetView with the earliest
       timestamp and the one with the latest timestamp is larger
       than this parameter's value, produce a warning.
       """)