PyAutoPlot Package Documentation

Package documentation for PyAutoPlot. PyAutoPlot is an open-source Python library designed to simplify dataset analysis by generating helpful detailed plots using matplotlib.

Changelog

  • 1.0.2 (Latest): Performance and other improvements, along with better error handling.

  • 1.0.1: Added package dependencies to PyAutoPlot.

  • 1.0.0: Initial release.

Installation

You can install PyAutoPlot using PyPi, please make sure that you are using Python 3.6 or later before installing PyAutoPlot:

pip install pyautoplot

Example Usage

AutoPlot

from pyautoplot import AutoPlot

# Initialize with a CSV file
plotter = AutoPlot("path/to/dataset.csv")

# Automatically analyze and plot
plotter.auto_plot(output_file='test', theme="dark", color='orange', excludes=['detailed_analysis'])

Customization

from pyautoplot import AutoPlot

# Define your custom theme
custom_theme = {
    "axes.facecolor": "#ffffff",
    "axes.edgecolor": "#000000",
    "axes.labelcolor": "#000000",
    "figure.facecolor": "#ffffff",
    "grid.color": "#dddddd",
    "text.color": "#000000",
    "xtick.color": "#000000",
    "ytick.color": "#000000",
    "legend.frameon": True,
}

# Initialize with a CSV file
plotter = AutoPlot("path/to/dataset.csv")

# Automatically analyze and plot using the custom theme
plotter.auto_plot(output_file='test', theme=custom_theme, color='orange', excludes=['detailed_analysis'])

Last updated

Was this helpful?