Skip to content

Commit 1654299

Browse files
authored
Update README.md
1 parent a4c543d commit 1654299

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,31 @@
77

88
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.
99

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+
1035
### Changes in version 1.0.1:
1136
- Added package dependencies to PyAutoPlot: `matplotlib>=3.0.0`, `pandas>=1.0.0`, and `numpy>=1.18.0`.
1237

0 commit comments

Comments
 (0)