From 913305f4d26e7da854d7e7e0680390c7ea5bac1a Mon Sep 17 00:00:00 2001 From: tlatorre Date: Mon, 25 May 2020 09:31:16 -0500 Subject: don't import from .plot in plot_energy.py This commit updates the plot_energy.py module to not import from plot globally since that means matplotlib gets pulled in by submit-grid-jobs and that causes errors on the grid login nodes. --- utils/sddm/plot_energy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/sddm/plot_energy.py b/utils/sddm/plot_energy.py index 88950f7..4457dc0 100755 --- a/utils/sddm/plot_energy.py +++ b/utils/sddm/plot_energy.py @@ -20,7 +20,6 @@ from scipy.stats import poisson from scipy.special import spence from .dc import DC_MUON, DC_JUNK, DC_CRATE_ISOTROPY, DC_QVNHIT, DC_NECK, DC_FLASHER, DC_ESUM, DC_OWL, DC_OWL_TRIGGER, DC_FTS, DC_ITC, DC_BREAKDOWN from . import grouper, print_warning, AV_RADIUS, PSUP_RADIUS -from .plot import despine import pandas as pd # Fermi constant @@ -201,6 +200,7 @@ def prompt_event(ev): def plot_corner_plot(ev, title, save=None): import matplotlib.pyplot as plt + from .plot import despine variables = ['r_psup','psi','z','udotr'] labels = [r'$(r/r_\mathrm{PSUP})^3$',r'$\psi$','z',r'$\vec{u}\cdot\vec{r}$'] limits = [(0,1),(0,10),(-840,840),(-1,1)] -- cgit