Skip to content

Commit

Permalink
Replaced facecolor with property that works on older matplotlib
Browse files Browse the repository at this point in the history
  • Loading branch information
mcraig-ibme committed Sep 5, 2017
1 parent 7a00258 commit d013a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asl/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def __init__(self, parent):
self.nslices = 1
self.view = 0
self.figure = Figure(figsize=(3.5, 3.5), dpi=100, facecolor='black')
self.axes = self.figure.add_subplot(111, facecolor='black')
self.axes = self.figure.add_subplot(111, axis_bgcolor='black')
self.axes.get_xaxis().set_ticklabels([])
self.axes.get_yaxis().set_ticklabels([])
self.canvas = FigureCanvas(self, -1, self.figure)
Expand Down

0 comments on commit d013a78

Please sign in to comment.