From 5128a362b05f67ce630ca9078245205b493f53c6 Mon Sep 17 00:00:00 2001 From: Moritz Kern <92092328+Moritz-Alexander-Kern@users.noreply.github.com> Date: Fri, 24 Feb 2023 13:58:13 +0100 Subject: [PATCH] Release 0.3.0 (#65) * update copyright year to 2023 * bump version * update install guide --- LICENSE.txt | 2 +- README.md | 2 +- doc/release_notes.rst | 32 ++++++++++++++++++++++++++++ viziphant/VERSION | 2 +- viziphant/__init__.py | 2 +- viziphant/asset.py | 2 +- viziphant/events.py | 4 ++-- viziphant/gpfa.py | 2 +- viziphant/patterns.py | 4 ++-- viziphant/rasterplot.py | 2 +- viziphant/spike_train_correlation.py | 2 +- viziphant/spike_train_synchrony.py | 2 +- viziphant/statistics.py | 2 +- viziphant/unitary_event_analysis.py | 2 +- viziphant/utils.py | 2 +- 15 files changed, 48 insertions(+), 16 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index 828bad0..24c7c53 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -Copyright (c) 2017-2022, Institute of Neuroscience and Medicine (INM-6), Forschungszentrum Jülich +Copyright (c) 2017-2023, Institute of Neuroscience and Medicine (INM-6), Forschungszentrum Jülich All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/README.md b/README.md index 4201db5..badeec7 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ https://viziphant.readthedocs.io/en/latest/ For instructions on installing Viziphant, please see https://viziphant.readthedocs.io/en/latest/install.html #### Copyright -:copyright: 2017-2022 by the [Viziphant team](doc/authors.rst). +:copyright: 2017-2023 by the [Viziphant team](doc/authors.rst). #### License BSD 3-Clause License, see [LICENSE.txt](LICENSE.txt) for details. diff --git a/doc/release_notes.rst b/doc/release_notes.rst index 8ae6593..cc10fb1 100644 --- a/doc/release_notes.rst +++ b/doc/release_notes.rst @@ -2,6 +2,38 @@ Release Notes ============= +Viziphant 0.3.0 release notes +***************************** + +Documentation +------------- +* Fixed math display for equations in docs by using mathjax as renderer #59 +* Remove title "Viziphant" from navigation bar #60 +* Fix documentation, remove version cap on sphinxcontrib-bibtex, add new citation style #57 +* Fix navigation bar not showing up in documentation #64 + +New functionality and features +------------------------------ +* Add parameter to exclude labels from plotting in add_event function. #50 +* Add limit check to add_event function to prevent labels outside bounds of figure. #49 +* GPFA function plot_dimensions_vs_time passing neo.Events to the plotting function to make it more robust and flexible #52 + +Bug fixes +--------- +* Fix bug in add_events where only the last event was plotted. #53 +* Fix bug with newer versions of matplotlib by replacing gca() with add_subplot(). #56 + +Miscellaneous +------------- +* CI: update GitHub actions commands, remove deprecated commands #58 +* Add first unit test for ASSET plot_synchronous_events #63 + +Selected dependency changes +--------------------------- +* Update python version, drop support for python 3.6 and 3.7 #51 #62 +* Update to quantities >0.14.0 #61 + + Viziphant 0.2.0 release notes ***************************** diff --git a/viziphant/VERSION b/viziphant/VERSION index 341cf11..0d91a54 100644 --- a/viziphant/VERSION +++ b/viziphant/VERSION @@ -1 +1 @@ -0.2.0 \ No newline at end of file +0.3.0 diff --git a/viziphant/__init__.py b/viziphant/__init__.py index 4423d0c..232877a 100644 --- a/viziphant/__init__.py +++ b/viziphant/__init__.py @@ -3,7 +3,7 @@ Elephant, which is a package for the analysis of neurophysiological data, based on Neo. """ -# Copyright 2017-2022 by the Viziphant team, see `doc/authors.rst`. +# Copyright 2017-2023 by the Viziphant team, see `doc/authors.rst`. # License: Modified BSD, see LICENSE.txt for details. from . import (asset, events, gpfa, patterns, rasterplot, diff --git a/viziphant/asset.py b/viziphant/asset.py index 4761a35..024a9f3 100644 --- a/viziphant/asset.py +++ b/viziphant/asset.py @@ -9,7 +9,7 @@ plot_synchronous_events """ -# Copyright 2017-2022 by the Viziphant team, see `doc/authors.rst`. +# Copyright 2017-2023 by the Viziphant team, see `doc/authors.rst`. # License: Modified BSD, see LICENSE.txt for details. diff --git a/viziphant/events.py b/viziphant/events.py index cd54295..bd914e2 100644 --- a/viziphant/events.py +++ b/viziphant/events.py @@ -8,7 +8,7 @@ add_event """ -# Copyright 2017-2022 by the Viziphant team, see `doc/authors.rst`. +# Copyright 2017-2023 by the Viziphant team, see `doc/authors.rst`. # License: Modified BSD, see LICENSE.txt.txt for details. @@ -71,7 +71,7 @@ def add_event(axes, event, key=None, rotation=40, exclude=None): x_lim_min, x_lim_max = axes[-1].get_xlim() if x_lim_max < x_lim_min: x_lim_min, x_lim_max = x_lim_max, x_lim_min - + if exclude is None: exclude = [] diff --git a/viziphant/gpfa.py b/viziphant/gpfa.py index c46a8a1..6b83f68 100644 --- a/viziphant/gpfa.py +++ b/viziphant/gpfa.py @@ -14,7 +14,7 @@ plot_cumulative_shared_covariance plot_transform_matrix """ -# Copyright 2017-2022 by the Viziphant team, see `doc/authors.rst`. +# Copyright 2017-2023 by the Viziphant team, see `doc/authors.rst`. # License: Modified BSD, see LICENSE.txt for details. import itertools diff --git a/viziphant/patterns.py b/viziphant/patterns.py index 0a27833..96e6e04 100644 --- a/viziphant/patterns.py +++ b/viziphant/patterns.py @@ -24,7 +24,7 @@ plot_patterns_statistics_lags """ -# Copyright 2017-2022 by the Viziphant team, see `doc/authors.rst`. +# Copyright 2017-2023 by the Viziphant team, see `doc/authors.rst`. # License: Modified BSD, see LICENSE.txt for details. from collections import defaultdict @@ -169,7 +169,7 @@ def plot_patterns_statistics_lags(patterns, axes=None): """ if axes is None: fig, axes = plt.subplots() - + # 'times' and 'lags' share the same units; # however, only lag units are of interest units = patterns[0]['lags'].units diff --git a/viziphant/rasterplot.py b/viziphant/rasterplot.py index b248cc2..6f028ad 100644 --- a/viziphant/rasterplot.py +++ b/viziphant/rasterplot.py @@ -10,7 +10,7 @@ rasterplot_rates """ -# Copyright 2017-2022 by the Viziphant team, see `doc/authors.rst`. +# Copyright 2017-2023 by the Viziphant team, see `doc/authors.rst`. # License: Modified BSD, see LICENSE.txt for details. import matplotlib.axes diff --git a/viziphant/spike_train_correlation.py b/viziphant/spike_train_correlation.py index 5e801d5..995c2cf 100644 --- a/viziphant/spike_train_correlation.py +++ b/viziphant/spike_train_correlation.py @@ -9,7 +9,7 @@ plot_cross_correlation_histogram """ -# Copyright 2017-2022 by the Viziphant team, see `doc/authors.rst`. +# Copyright 2017-2023 by the Viziphant team, see `doc/authors.rst`. # License: Modified BSD, see LICENSE.txt.txt for details. diff --git a/viziphant/spike_train_synchrony.py b/viziphant/spike_train_synchrony.py index 5efc71c..530be3e 100644 --- a/viziphant/spike_train_synchrony.py +++ b/viziphant/spike_train_synchrony.py @@ -8,7 +8,7 @@ plot_spike_contrast """ -# Copyright 2017-2022 by the Viziphant team, see `doc/authors.rst`. +# Copyright 2017-2023 by the Viziphant team, see `doc/authors.rst`. # License: Modified BSD, see LICENSE.txt for details. import matplotlib.pyplot as plt diff --git a/viziphant/statistics.py b/viziphant/statistics.py index 487195a..5706736 100644 --- a/viziphant/statistics.py +++ b/viziphant/statistics.py @@ -10,7 +10,7 @@ plot_instantaneous_rates_colormesh """ -# Copyright 2017-2022 by the Viziphant team, see `doc/authors.rst`. +# Copyright 2017-2023 by the Viziphant team, see `doc/authors.rst`. # License: Modified BSD, see LICENSE.txt.txt for details. import matplotlib.pyplot as plt diff --git a/viziphant/unitary_event_analysis.py b/viziphant/unitary_event_analysis.py index faf99e7..4390cfa 100644 --- a/viziphant/unitary_event_analysis.py +++ b/viziphant/unitary_event_analysis.py @@ -12,7 +12,7 @@ plot_ue """ -# Copyright 2017-2022 by the Viziphant team, see `doc/authors.rst`. +# Copyright 2017-2023 by the Viziphant team, see `doc/authors.rst`. # License: Modified BSD, see LICENSE.txt.txt for details. import numpy as np diff --git a/viziphant/utils.py b/viziphant/utils.py index ffd84f9..a07aa5b 100644 --- a/viziphant/utils.py +++ b/viziphant/utils.py @@ -1,4 +1,4 @@ -# Copyright 2017-2022 by the Viziphant team, see `doc/authors.rst`. +# Copyright 2017-2023 by the Viziphant team, see `doc/authors.rst`. # License: Modified BSD, see LICENSE.txt for details. from elephant.utils import check_same_units as check_same_units_single