Commit 65d9737c authored by Félix Hartmann's avatar Félix Hartmann
Browse files

[bugfix] Remove old organ bases from the Matplotlib canvas when new

images are loaded.
parent 1bf619d2
......@@ -4835,7 +4835,7 @@ class Interekt:
With Python2, the old .pkl format is also accepted.
"""
global base_dir_path, data_out, imgs_out, base_tiges
global btige_plt, btige_text, dtphoto, cidkey
global base_tiges, btige_plt, btige_text, dtphoto, cidkey
global hdf5file, tiges_data
#TODO: Bug mac version TK and wild-cards
......@@ -4928,6 +4928,7 @@ class Interekt:
if process:
reset_graph_data()
base_tiges = []
# Loading image names
files_to_process = [f.encode(sys.getfilesystemencoding())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment