Releases: JackMcKew/pandas_alive
Releases · JackMcKew/pandas_alive
pandas_alive v0.2.3
- Fixed an ongoing problem with
animate_multiple_plots
when re-using a line or scatter chart. Corresponding subplots would show a static figure from a previous single animation. - Fixed
fig=
for single animations not being passed properly as a custom figure. - Several performance improvements to speed up loops in animations.
- Fixed a problem with line and scatter plots being chopped off near the vertical limit values.
- Added a
colorbar
with bubble plots when aPandas
df column is passed as a colour. Currently only for individual animations. - Added options for bubble plots above to control the
colorbar
scale limits withvmin
&vmax
. If None, then they are automatically calculated. - Added option
add_legend=
for line and scatter animations for single & multiple plots. Default isTrue
. - Added the option
enable_progress_bar=
toanimate_multiple_plots
. Default isFalse
. - Improved the ability to re-use figures & axes in a notebook for multiple plots. Occasionally, these used to carry over old frames into a new animation.
- Made
animate_multiple_plots
to create aFigure()
instance instead of afigure()
one. Note thatmatplotlib
can take twice as long to generate animations with the latter instance type. Not clear why. - Added a new folder
./examples/test_notebooks/
for future collaborators to add new notebooks. - Removed the limitation for the interpolation (
interpolate_period=
) only to work with aDateTime
index. It should now work with any numeric df index.
pandas_alive v0.2.2
0.2.2 - 2020-06-04
- Additional error catching with warnings for modules not being installed
- Add both attrs and pillow as dependancies, so users can install with pip and have it
just work
pandas_alive v0.2.1
0.2.1 - 2020-06-02
- Custom figures now supported in
animate_multiple_plots
- Writing to GIF in memory with
PIL
now supported, no external dependancies for gifs!
pandas_alive v0.2.0
[0.2.0]
- Changing version format MAJOR.MINOR.PATCH
- Introduces support for geospatial data with geopandas
- Introduces support for basemap on geospatial datasets with contextily
pandas_alive v2020.05.15
- Officially changing to version format with YYYY.MM.VERSION
- Hotfix for anaconda environment throwing an error:
ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
pandas_alive v0.1.14
pandas_alive v0.1.13d1
This release is solely to trigger github actions to rebuild docs
pandas_alive v0.1.13
-
New chart type introduced: Bubble Charts, to be used with MultiIndexed DataFrames.
- Bubble charts support x & y axis by data inside MultiIndex (
x_data_label
&y_data_label
) - Bubble charts support size & color optionally by data inside DataFrame (
size_data_label
&color_data_label
)
- Bubble charts support x & y axis by data inside MultiIndex (
-
New chart type introduced: Scatter Chart
-
New chart type introduced: Bar Chart, create animated bar charts with time as the x-axis
-
QOL improvements for warnings & errors
-
Line charts now support filling underneath to mimic an area chart
df.plot_animated(kind="line",fill_under_line_color="red")
-
Line charts now support event labelling with perpendicular bars
df.plot_animated( kind='line', label_events={ 'Ruby Princess Disembark':datetime.strptime("19/03/2020", "%d/%m/%Y"), 'Lockdown':datetime.strptime("31/03/2020", "%d/%m/%Y") }, )
pandas_alive v0.1.12
- fixed_max optional for all chart
- fixed_max amended to work with multiple plots
pandas_alive v0.1.11
period_summary_func
provided for charts to display overall period calculations on plot- Bar chart functionality extended
fixed_order
can be used to disable bars moving on bar chartfixed_max
set limits of axis on charts to be total maximum of dataframe rather than dynamicperpendicular_bar_func
Plot perpendicular black bar on plot to demonstrate different stats, eg, max, min, median, etc. Use with Series.agg()