|
7 | 7 |
|
8 | 8 | PyAutoPlot is an open-source Python library designed to make dataset analysis much easier by generating helpful detailed plots using `matplotlib`. It automatically generates appropriate plots based on the dataset you feed it.
|
9 | 9 |
|
| 10 | +### Changes in version 1.0.2: |
| 11 | +Bug Fixes and Robustness: |
| 12 | +- Corrected calculation of missing values in `_generate_analysis`. |
| 13 | +- Added error handling for statistical functions (`skewness`, `kurtosis`, `autocorrelation`) to prevent crashes with empty or zero-variance data, returning NaN instead. |
| 14 | +- Added warnings for columns not classified by `_detect_column_types`. |
| 15 | +- Included input validation in the `plot()` method to check for valid column names and required arguments, raising ValueErrors for invalid input. |
| 16 | + |
| 17 | +Performance Enhancements: |
| 18 | +- Modified `auto_plot()` to display and close plot figures section by section (or individually for looped plots like pie/line charts). This significantly reduces memory consumption when generating many plots. |
| 19 | +- Added a warning in the `auto_plot()` docstring regarding potential performance issues of pairwise scatter plots with many numeric columns. |
| 20 | + |
| 21 | +Code Cleanup: |
| 22 | +- Refined static method definitions (`_calculate_skewness`, `_calculate_kurtosis`, etc.) by removing unnecessary `self` arguments and ensuring calls are updated. |
| 23 | + |
| 24 | +- Testing: |
| 25 | +- Replaced the existing `test.py` with a new script that: |
| 26 | + - Creates a `test_output` directory for plot outputs. |
| 27 | + - Uses `energy_consumption_dataset.csv` (with a dummy fallback). |
| 28 | + - Demonstrates `AutoPlot` initialization. |
| 29 | + - Runs `auto_plot()` with default and custom configurations. |
| 30 | + - Runs manual `plot()` for scatter, distribution, boxplot, and bar types. |
| 31 | + - Shows usage of the `customize()` method. |
| 32 | + - Includes a test with a small, inline dataset. |
| 33 | + - Saves all generated plots for visual inspection. |
| 34 | + |
10 | 35 | ### Changes in version 1.0.1:
|
11 | 36 | - Added package dependencies to PyAutoPlot: `matplotlib>=3.0.0`, `pandas>=1.0.0`, and `numpy>=1.18.0`.
|
12 | 37 |
|
|
0 commit comments