- some minor changes in Distance Plugin

- when changing workspace orientation fixed leaving behind the old frame on the cavnas
This commit is contained in:
Marius Stanciu
2022-03-30 17:41:22 +03:00
committed by Marius
parent 98a5d0ff81
commit c0b3f6ebde
3 changed files with 8 additions and 0 deletions

View File

@@ -418,6 +418,7 @@ class PlotCanvas(QtCore.QObject, VisPyCanvas):
:param workspace_size: the workspace size; tuple
:return:
"""
self.delete_workspace()
try:
if self.fcapp.app_units.upper() == 'MM':
dims = self.pagesize_dict[workspace_size]