fix some bugs

This commit is contained in:
KenanZhu111 committed 2024-11-08 16:39:42 +08:00
1 parent 80e29d68c7
commit fc181301c7
10 files changed
+110 -89

No files matched your search

+3 -4
View File
@@ -30,7 +30,7 @@ from matplotlib.backends.backend_tkagg import (
import tkinter as tk
import tkinter.font as tkfont
import cartopy.crs as ccrs
#import cartopy.feature as cfeature
import cartopy.io.shapereader as shp
import matplotlib as mpl
mpl.use('TkAgg')
import matplotlib.pyplot as plt
@@ -63,7 +63,6 @@ def _instanceABO(hwndparemt, cfg_get_, func_):
T = threading.Thread(target=lambda :instanceABO(hwndparemt, cfg_get_, func_))
T.start()
# noinspection PyUnusedLocal,PyProtectedMember
class MAINGUI:
def __init__(self, hwnd_, func_):
@@ -395,9 +394,9 @@ class MAINGUI:
self.sattrack.gridlines()
fig.subplots_adjust(
left=0,
bottom=0.03,
bottom=0.045,
right=1,
top=0.95
top=0.90
)
for spine in ['right', 'left']:
self.sattrack.spines[spine].set_visible(False)