Skip to content

Commit

Permalink
release: release 1.3.1 to fix movie export
Browse files Browse the repository at this point in the history
An error snuck in merging back bugfixes to `main`, which resulted in a new figure being opened before setting up the class that renders to the file. This results in blank figures being exported.
  • Loading branch information
JoepVanlier committed Dec 7, 2023
1 parent 07a2f8f commit 1e67d19
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v1.3.1 | 2023-12-07

#### Bug fixes

* Fixed a bug in [`Scan.export_video()`](https://lumicks-pylake.readthedocs.io/en/v1.3.1/_api/lumicks.pylake.scan.Scan.html#lumicks.pylake.scan.Scan.export_video) and [`ImageStack.export_video()`](https://lumicks-pylake.readthedocs.io/en/v1.3.1/_api/lumicks.pylake.ImageStack.html#lumicks.pylake.ImageStack.export_video) which resulted in empty frames being written when exporting with channel data.

## v1.3.0 | 2023-12-07

#### New features
Expand Down
2 changes: 1 addition & 1 deletion lumicks/pylake/__about__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__title__ = "lumicks.pylake"
__version__ = "1.3.0"
__version__ = "1.3.1"
__summary__ = "Bluelake data analysis tools"
__url__ = "https://github.com/lumicks/pylake"

Expand Down
2 changes: 0 additions & 2 deletions lumicks/pylake/detail/imaging_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,6 @@ def plot(frame):
)
return plt.gca().get_children()

fig = plt.figure()
fig.patch.set_alpha(1.0)
# Don't store the FuncAnimation in a variable as this leads to mpl attempting to remove
# a callback that doesn't exist on plt.close(fig) when using the jupyter notebook backend.
animation.FuncAnimation(fig, plot, stop_frame - start_frame, interval=1, blit=True).save(
Expand Down

0 comments on commit 1e67d19

Please sign in to comment.