Skip to content

Conversation

@Infinitode
Copy link
Owner

This commit removes the previously implemented seasonality detection feature and introduces a new comprehensive test script.

Changes include:

  • Removed the _detect_seasonality method from pyautoplot/__init__.py.
  • Removed the "Seasonality" output from the time-series analysis in _generate_analysis.
  • Removed statsmodels from dependencies in setup.py and from imports in pyautoplot/__init__.py.
  • Replaced the existing test.py with a new script that:
    • Creates a test_output directory for plot outputs.
    • Uses energy_consumption_dataset.csv (with a dummy fallback).
    • Demonstrates AutoPlot initialization.
    • Runs auto_plot() with default and custom configurations.
    • Runs manual plot() for scatter, distribution, boxplot, and bar types.
    • Shows usage of the customize() method.
    • Includes a test with a small, inline dataset.
    • Saves all generated plots for visual inspection.
  • Verified that README.md did not require changes as the seasonality feature was not explicitly documented there.

This commit removes the previously implemented seasonality detection feature and introduces a new comprehensive test script.

Changes include:
- Removed the `_detect_seasonality` method from `pyautoplot/__init__.py`.
- Removed the "Seasonality" output from the time-series analysis in `_generate_analysis`.
- Removed `statsmodels` from dependencies in `setup.py` and from imports in `pyautoplot/__init__.py`.
- Replaced the existing `test.py` with a new script that:
    - Creates a `test_output` directory for plot outputs.
    - Uses `energy_consumption_dataset.csv` (with a dummy fallback).
    - Demonstrates `AutoPlot` initialization.
    - Runs `auto_plot()` with default and custom configurations.
    - Runs manual `plot()` for scatter, distribution, boxplot, and bar types.
    - Shows usage of the `customize()` method.
    - Includes a test with a small, inline dataset.
    - Saves all generated plots for visual inspection.
- Verified that `README.md` did not require changes as the seasonality feature was not explicitly documented there.
@Infinitode Infinitode merged commit fb0f3ef into main Jun 16, 2025
@Infinitode Infinitode deleted the remove-seasonality-add-comp-tests branch June 30, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants