Skip to content

Commit

Permalink
Do not force TkAgg backend
Browse files Browse the repository at this point in the history
  • Loading branch information
sravan953 committed Jun 17, 2020
1 parent d69f300 commit f9dc7bf
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions pypulseq/Sequence/sequence.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
import math
from types import SimpleNamespace

import matplotlib as mpl
import numpy as np

mpl.use('TkAgg')
from matplotlib import pyplot as plt

from pypulseq.Sequence.test_report import test_report as ext_test_report
from pypulseq.check_timing import check_timing as ext_check_timing
from pypulseq.Sequence import block
from pypulseq.Sequence.read_seq import read
from pypulseq.Sequence.test_report import test_report as ext_test_report
from pypulseq.Sequence.write_seq import write
from pypulseq.calc_duration import calc_duration
from pypulseq.calc_rf_center import calc_rf_center
from pypulseq.check_timing import check_timing as ext_check_timing
from pypulseq.decompress_shape import decompress_shape
from pypulseq.event_lib import EventLibrary
from pypulseq.opts import Opts
Expand Down Expand Up @@ -393,7 +390,7 @@ def gradient_waveforms(self) -> np.ndarray:

return grad_waveforms

def plot(self, type: str = 'Gradient', time_range=(0, np.inf), time_disp: str = 's', save: bool=False):
def plot(self, type: str = 'Gradient', time_range=(0, np.inf), time_disp: str = 's', save: bool = False):
"""
Plot `Sequence`.
Expand Down

0 comments on commit f9dc7bf

Please sign in to comment.