Minor bug fixes
This commit is contained in:
parent
7ccad4cb86
commit
5efe75f4ea
@ -17,7 +17,7 @@ import matplotlib.patheffects as PathEffects
|
|||||||
import cartopy.crs as ccrs
|
import cartopy.crs as ccrs
|
||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
import cartopy.feature as cf
|
import cartopy.feature as cf
|
||||||
from cartopy.io.shapereader import Reader
|
import cartopy.io.shapereader as shpr
|
||||||
from cartopy.feature import ShapelyFeature
|
from cartopy.feature import ShapelyFeature
|
||||||
from cartopy.mpl.gridliner import LONGITUDE_FORMATTER, LATITUDE_FORMATTER
|
from cartopy.mpl.gridliner import LONGITUDE_FORMATTER, LATITUDE_FORMATTER
|
||||||
|
|
||||||
@ -156,6 +156,8 @@ class Array_map(QtWidgets.QWidget):
|
|||||||
self.canvas.axes.add_feature(cf.OCEAN)
|
self.canvas.axes.add_feature(cf.OCEAN)
|
||||||
self.canvas.axes.add_feature(cf.COASTLINE, linewidth=1, edgecolor='gray')
|
self.canvas.axes.add_feature(cf.COASTLINE, linewidth=1, edgecolor='gray')
|
||||||
self.canvas.axes.add_feature(cf.BORDERS, alpha=0.7)
|
self.canvas.axes.add_feature(cf.BORDERS, alpha=0.7)
|
||||||
|
self.canvas.axes.add_feature(cf.LAKES, alpha=0.7)
|
||||||
|
self.canvas.axes.add_feature(cf.RIVERS, linewidth=0.8)
|
||||||
|
|
||||||
# parallels and meridians
|
# parallels and meridians
|
||||||
self.add_merid_paral()
|
self.add_merid_paral()
|
||||||
|
@ -1836,7 +1836,7 @@ class PickDlg(QDialog):
|
|||||||
self.statusbar = QtWidgets.QStatusBar(self)
|
self.statusbar = QtWidgets.QStatusBar(self)
|
||||||
|
|
||||||
# add hotkeys
|
# add hotkeys
|
||||||
self._shortcut_space = QtWidgets.QShortcut(QtWidgets.QKeySequence(' '), self)
|
self._shortcut_space = QtWidgets.QShortcut(QtGui.QKeySequence(' '), self)
|
||||||
self._shortcut_space.activated.connect(self.accept_button.clicked)
|
self._shortcut_space.activated.connect(self.accept_button.clicked)
|
||||||
# button shortcuts (1 for P-button, 2 for S-button)
|
# button shortcuts (1 for P-button, 2 for S-button)
|
||||||
# self.p_button.setShortcut(QKeySequence('1'))
|
# self.p_button.setShortcut(QKeySequence('1'))
|
||||||
|
Loading…
Reference in New Issue
Block a user