diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2023-11-06 23:49:51 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2023-11-07 00:02:36 +0100 |
commit | 5d56288a113aa3aa2e68dbf54f0acde0650bafcb (patch) | |
tree | bc4e9904feac2a8c9e5f5287774416b1aa3822f9 /examples/py-machine-learning/keras-autoencoder.py | |
parent | 84b12cd02c1f11d134f00b0a066414a677a53719 (diff) |
Fixed more SonarCloud complaints.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'examples/py-machine-learning/keras-autoencoder.py')
-rwxr-xr-x | examples/py-machine-learning/keras-autoencoder.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/py-machine-learning/keras-autoencoder.py b/examples/py-machine-learning/keras-autoencoder.py index 086cf505c..fc3115012 100755 --- a/examples/py-machine-learning/keras-autoencoder.py +++ b/examples/py-machine-learning/keras-autoencoder.py @@ -273,8 +273,7 @@ def plot_worker(shared_shutdown_event, shared_plot_queue): ys2 = [] ys3 = [] ys4 = [] - x = 0 - a = ani.FuncAnimation(fig, plot_animate, fargs=(shared_plot_queue, (ax1, ax2, ax3, ax4), xs, (ys1, ys2, ys3, ys4)), interval=1000, cache_frame_data=False) + ani.FuncAnimation(fig, plot_animate, fargs=(shared_plot_queue, (ax1, ax2, ax3, ax4), xs, (ys1, ys2, ys3, ys4)), interval=1000, cache_frame_data=False) plt.subplots_adjust(left=0.05, right=0.95, top=0.95, bottom=0.05) plt.margins(x=0, y=0) plt.show() |