Skip to content

Commit 3879436

Browse files
committed
Closes #6
1 parent 9635c5f commit 3879436

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

hapiplot/plot/timeseries.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ def timeseries(t, y, **kwargs):
5555
from matplotlib import pyplot as plt
5656
if opts['backend'] != 'default':
5757
try:
58-
matplotlib.use(opts['backend'], warn=False, force=True)
58+
matplotlib.use(opts['backend'], force=True)
5959
except:
60-
matplotlib.use(matplotlib.get_backend(), warn=False, force=True)
60+
matplotlib.use(matplotlib.get_backend(), force=True)
6161
warnings.warn('Warning: matplotlib(' + opts['backend'] + \
6262
') call failed. Using default backend of ' +
6363
matplotlib.get_backend(), SyntaxWarning)
@@ -120,7 +120,6 @@ def timeseries(t, y, **kwargs):
120120
ax = fig.add_subplot(111)
121121
else:
122122
fig, ax = plt.subplots()
123-
fig.canvas.set_window_title(opts['title'])
124123

125124
if len(y.shape) > 1:
126125
all_nan = np.full((y.shape[1]), False)

hapiplot/plot/util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ def setopts(opts, kwargs):
1818

1919
if opts['backend'] != 'default':
2020
try:
21-
matplotlib.use(opts['backend'], warn=False, force=True)
21+
matplotlib.use(opts['backend'], force=True)
2222
except:
23-
matplotlib.use(matplotlib.get_backend(), warn=False, force=True)
23+
matplotlib.use(matplotlib.get_backend(), force=True)
2424
warnings.warn('Warning: matplotlib(' + opts['backend'] + \
2525
') call failed. Using default backend of ' +
2626
matplotlib.get_backend(), SyntaxWarning)

0 commit comments

Comments
 (0)