bluemira.display.tools

tools for display module

Classes

Options

The options that are available for displaying objects.

Module Contents

class bluemira.display.tools.Options(**kwargs)

The options that are available for displaying objects.

__slots__ = ('_options',)
__setattr__(attr: str, val: Any)

Set attributes in options dictionary

Parameters:
  • attr (str)

  • val (Any)

__getattribute__(attr: str)
Returns:

the attributes or from “_options” dict

Raises:

AttributeError – Attribute not found

Parameters:

attr (str)

modify(**kwargs: Any)

Modify options

Parameters:

kwargs (Any)

as_dict() dict[str, Any]
Returns:

the instance as a dictionary.

Return type:

dict[str, Any]

__repr__() str
Returns:

representation string of the DisplayOptions.

Return type:

str