Commit fe281359 authored by Maximilian Schanner's avatar Maximilian Schanner
Browse files

polishing

parent 737ad1dc
......@@ -40,8 +40,8 @@ from pymagglobal.__main__ import argument_parser
from pymagglobal._commands import local_curve, maps, dipole_series
matplotlib.use('Qt5Agg')
plt.ioff()
plt.rcParams.update({'font.size': 16})
titleStyle = 'font-size: 18pt; font-weight: bold;'
......@@ -158,7 +158,7 @@ class MainWindow(QWidget):
def localMenu(self):
''' Local plot widget '''
# Title string
title = QLabel('Site parameters')
title = QLabel('Local plots')
title.setStyleSheet(titleStyle)
title.setAlignment(Qt.AlignCenter)
# Lat lon input fields
......@@ -196,7 +196,7 @@ class MainWindow(QWidget):
def globalMenu(self):
''' Local plot widget '''
# Title string
title = QLabel('Global parameters')
title = QLabel('Global plots')
title.setStyleSheet(titleStyle)
title.setAlignment(Qt.AlignCenter)
# Epoch input field
......@@ -261,10 +261,11 @@ class MainWindow(QWidget):
def plotMap(self):
self.fig.clf()
self.fig.add_subplot(311, projection=ccrs.Mollweide())
self.fig.add_subplot(312, projection=ccrs.Mollweide())
self.fig.add_subplot(313, projection=ccrs.Mollweide())
self.fig.subplots_adjust(top=0.92)
self.fig.add_subplot(221, projection=ccrs.Mollweide())
self.fig.add_subplot(222, projection=ccrs.Mollweide())
self.fig.add_subplot(212, projection=ccrs.Mollweide())
self.fig.tight_layout()
self.fig.subplots_adjust(top=0.9, bottom=0.1, hspace=0.4)
maps(self.parser.parse_args(['map',
self.epoch.text(),
self.modelSelector.currentText()]),
......@@ -378,7 +379,7 @@ class SaveWindow(QWidget):
return q
def epochSelector(self):
epochLabel = QLabel('Epoch')
epochLabel = QLabel('Epoch [yrs.]')
epochLabel.setAlignment(Qt.AlignCenter)
default = int((self.model.t_max + self.model.t_min) / 2)
......
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