Skip to content
Snippets Groups Projects
Commit c203a4f7 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[scripts.train_analysis] Fix typing

parent 9bcc3a70
No related branches found
No related tags found
1 merge request!14Implements GPU monitoring when using the MPS (macOS) compute backend
......@@ -66,6 +66,8 @@ def create_figures(
import matplotlib.pyplot as plt
from matplotlib.axes import Axes
from matplotlib.figure import Figure
from matplotlib.ticker import MaxNLocator
figures = []
......@@ -77,8 +79,8 @@ def create_figures(
continue
fig, ax = plt.subplots(1, 1)
ax = typing.cast(plt.Axes, ax)
fig = typing.cast(plt.Figure, fig)
ax = typing.cast(Axes, ax)
fig = typing.cast(Figure, fig)
if len(curves) == 1:
# there is only one curve, just plot it
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment