pylatex.tikz¶
This module implements the classes used to show plots.
-
class
TikZOptions(*args, **kwargs)[source]¶ Bases:
pylatex.base_classes.command.OptionsOptions class, do not escape.
Parameters: - *args – Positional parameters
- **kwargs – Keyword parameters
-
class
TikZ(*, options=None, arguments=None, start_arguments=None, **kwargs)[source]¶ Bases:
pylatex.base_classes.containers.EnvironmentBasic TikZ container class.
Parameters: -
omit_if_empty= False¶
-
-
class
Axis(options=None, *, data=None)[source]¶ Bases:
pylatex.base_classes.containers.EnvironmentPGFPlots axis container class, this contains plots.
Parameters: options (str, list or Options) – Options to format the axis environment.-
omit_if_empty= False¶
-
-
class
TikZScope(*, options=None, arguments=None, start_arguments=None, **kwargs)[source]¶ Bases:
pylatex.base_classes.containers.EnvironmentTikZ Scope Environment.
Parameters: -
omit_if_empty= False¶
-
-
class
TikZCoordinate(x, y, relative=False)[source]¶ Bases:
pylatex.base_classes.latex_object.LatexObjectA General Purpose Coordinate Class.
Parameters:
-
class
TikZObject(options=None)[source]¶ Bases:
pylatex.base_classes.containers.ContainerAbstract Class that most TikZ Objects inherits from.
Parameters: options (list) – Options pertaining to the object
-
class
TikZNodeAnchor(node_handle, anchor_name)[source]¶ Bases:
pylatex.base_classes.latex_object.LatexObjectRepresentation of a node’s anchor point.
Parameters:
-
class
TikZNode(handle=None, options=None, at=None, text=None)[source]¶ Bases:
pylatex.tikz.TikZObjectA class that represents a TiKZ node.
Parameters: - handle (str) – Node identifier
- options (list) – List of options
- at (TikZCoordinate) – Coordinate where node is placed
- text (str) – Body text of the node
-
class
TikZUserPath(path_type, options=None)[source]¶ Bases:
pylatex.base_classes.latex_object.LatexObjectRepresents a possible TikZ path.
Parameters:
-
class
TikZPathList(*args)[source]¶ Bases:
pylatex.base_classes.latex_object.LatexObjectRepresents a path drawing.
Parameters: args (list) – A list of path elements
-
class
TikZPath(path=None, options=None)[source]¶ Bases:
pylatex.tikz.TikZObjectThe TikZ path command.
Parameters: - path (TikZPathList) – A list of the nodes, path types in the path
- options (TikZOptions) – A list of options for the command
-
class
TikZDraw(path=None, options=None)[source]¶ Bases:
pylatex.tikz.TikZPathA draw command is just a path command with the draw option.
Parameters: - path (TikZPathList) – A list of the nodes, path types in the path
- options (TikZOptions) – A list of options for the command
-
class
Plot(name=None, func=None, coordinates=None, error_bar=None, options=None)[source]¶ Bases:
pylatex.base_classes.latex_object.LatexObjectA class representing a PGFPlot.
Parameters: