csvsee.graph

Provides a Graph class for creating graphs from .csv data files.

class csvsee.graph.Graph(csv_file, **kwargs)

A graph of data from a CSV file.

add_date_labels(min_date, max_date)

Add date labels to the graph.

generate()

Generate the graph.

guess_date_format(date_column)

Try to guess the date format used in the current .csv file, by reading from the first row of the date_column column.

save(filename)

Save the graph to filename. The format is determined by the extension of filename; if it’s not png, svg, or pdf, then a ValueError is raised.

show()

Display the graph in a GUI window.

Project Versions

Previous topic

csvsee.utils

Next topic

csvsee.grinder

This Page