sierra.core.graphs.scatterplot2D

  • Scatterplot2D: Generates a 2D scatterplot of rows vs. colums (X vs. Y) from a CSV.

class sierra.core.graphs.scatterplot2D.Scatterplot2D(input_fpath: Path, output_fpath: Path, title: str, xlabel: str, ylabel: str, xcol: str, ycol: str, large_text: bool = False, regression: bool = False)[source]

Generates a 2D scatterplot of rows vs. colums (X vs. Y) from a CSV.

If the necessary CSV file does not exist, the graph is not generated.

Inheritance

Inheritance diagram of Scatterplot2D
__dict__ = mappingproxy({'__module__': 'sierra.core.graphs.scatterplot2D', '__doc__': 'Generates a 2D scatterplot of rows vs. colums (X vs. Y) from a CSV.\n\n    If the necessary CSV file does not exist, the graph is not generated.\n\n    ', '__init__': <function Scatterplot2D.__init__>, 'generate': <function Scatterplot2D.generate>, '_plot_regression': <function Scatterplot2D._plot_regression>, '__dict__': <attribute '__dict__' of 'Scatterplot2D' objects>, '__weakref__': <attribute '__weakref__' of 'Scatterplot2D' objects>, '__annotations__': {}})
__doc__ = 'Generates a 2D scatterplot of rows vs. colums (X vs. Y) from a CSV.\n\n    If the necessary CSV file does not exist, the graph is not generated.\n\n    '
__init__(input_fpath: Path, output_fpath: Path, title: str, xlabel: str, ylabel: str, xcol: str, ycol: str, large_text: bool = False, regression: bool = False) None[source]
__module__ = 'sierra.core.graphs.scatterplot2D'
__weakref__

list of weak references to the object (if defined)

_plot_regression(df)[source]
generate() None[source]