From b8a26e1eb1f7f9fd8d84decc5c28b7fa4fdf5494 Mon Sep 17 00:00:00 2001 From: jupfi Date: Fri, 29 Mar 2024 18:39:49 +0100 Subject: [PATCH] Removed setting of mpl parameters. --- src/nqrduck_measurement/view.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/nqrduck_measurement/view.py b/src/nqrduck_measurement/view.py index 24f43fb..0420169 100644 --- a/src/nqrduck_measurement/view.py +++ b/src/nqrduck_measurement/view.py @@ -16,25 +16,6 @@ class MeasurementView(ModuleView): def __init__(self, module): super().__init__(module) - # Set custom matplotlib parameters - mpl.rcParams.update({ - "figure.facecolor": (0.0, 0.0, 0.0, 0.00), # transparent - "axes.facecolor": (0.0, 1.0, 0.0, 0.03), # green - "savefig.facecolor": (0.0, 0.0, 0.0, 0.0), # transparent - }) - - # Set custom matplotlib parameters - mpl.rcParams['figure.subplot.bottom'] = 0.2 - mpl.rcParams['axes.linewidth'] = 1.5 - mpl.rcParams['xtick.major.width'] = 1.5 - mpl.rcParams['ytick.major.width'] = 1.5 - mpl.rcParams['xtick.minor.width'] = 1.5 - mpl.rcParams['ytick.minor.width'] = 1.5 - mpl.rcParams['xtick.major.size'] = 6 - mpl.rcParams['ytick.major.size'] = 6 - mpl.rcParams['xtick.minor.size'] = 4 - mpl.rcParams['ytick.minor.size'] = 4 - widget = QWidget() self._ui_form = Ui_Form() self._ui_form.setupUi(self)