expert apps updates following new matplotlib release
This commit is contained in:
parent
93d59bfe82
commit
6a9d0c0ec2
2 changed files with 4 additions and 4 deletions
|
|
@ -126,7 +126,7 @@ class ExposureModelResult(View):
|
||||||
self.figure.canvas,
|
self.figure.canvas,
|
||||||
])
|
])
|
||||||
|
|
||||||
def initialize_axes(self) -> matplotlib.figure.Axes:
|
def initialize_axes(self) -> typing.Tuple[matplotlib.axes.Axes, matplotlib.axes.Axes]:
|
||||||
ax = self.figure.add_subplot(1, 1, 1)
|
ax = self.figure.add_subplot(1, 1, 1)
|
||||||
ax.spines['right'].set_visible(False)
|
ax.spines['right'].set_visible(False)
|
||||||
ax.spines['top'].set_visible(False)
|
ax.spines['top'].set_visible(False)
|
||||||
|
|
@ -230,7 +230,7 @@ class ExposureComparisonResult(View):
|
||||||
# unless the widget is wrapped in a container (it is seen on all tabs otherwise!).
|
# unless the widget is wrapped in a container (it is seen on all tabs otherwise!).
|
||||||
return widgets.HBox([self.figure.canvas])
|
return widgets.HBox([self.figure.canvas])
|
||||||
|
|
||||||
def initialize_axes(self) -> matplotlib.figure.Axes:
|
def initialize_axes(self) -> typing.Tuple[matplotlib.axes.Axes, matplotlib.axes.Axes]:
|
||||||
ax = self.figure.add_subplot(1, 1, 1)
|
ax = self.figure.add_subplot(1, 1, 1)
|
||||||
ax.spines['right'].set_visible(False)
|
ax.spines['right'].set_visible(False)
|
||||||
ax.spines['top'].set_visible(False)
|
ax.spines['top'].set_visible(False)
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@ class ExposureModelResult(View):
|
||||||
self.figure.canvas,
|
self.figure.canvas,
|
||||||
])
|
])
|
||||||
|
|
||||||
def initialize_axes(self) -> matplotlib.figure.Axes:
|
def initialize_axes(self) -> matplotlib.axes.Axes:
|
||||||
ax = self.figure.add_subplot(1, 1, 1)
|
ax = self.figure.add_subplot(1, 1, 1)
|
||||||
ax.spines['right'].set_visible(False)
|
ax.spines['right'].set_visible(False)
|
||||||
ax.spines['top'].set_visible(False)
|
ax.spines['top'].set_visible(False)
|
||||||
|
|
@ -140,7 +140,7 @@ class ExposureComparisonResult(View):
|
||||||
# unless the widget is wrapped in a container (it is seen on all tabs otherwise!).
|
# unless the widget is wrapped in a container (it is seen on all tabs otherwise!).
|
||||||
return widgets.HBox([self.figure.canvas])
|
return widgets.HBox([self.figure.canvas])
|
||||||
|
|
||||||
def initialize_axes(self) -> matplotlib.figure.Axes:
|
def initialize_axes(self) -> matplotlib.axes.Axes:
|
||||||
ax = self.figure.add_subplot(1, 1, 1)
|
ax = self.figure.add_subplot(1, 1, 1)
|
||||||
ax.spines[['right', 'top']].set_visible(False)
|
ax.spines[['right', 'top']].set_visible(False)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue