Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
aloctavodia committed Sep 20, 2023
1 parent 84b29f7 commit 2bf15ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymc_bart/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ def _get_axes(
fig = ax[0].get_figure()
else:
axes = [ax]
fig = ax.get_figure()
fig = ax.get_figure() # type: ignore

return fig, axes, shape

Expand Down Expand Up @@ -718,7 +718,7 @@ def plot_variable_importance(
figsize: Optional[Tuple[float, float]] = None,
samples: int = 100,
random_seed: Optional[int] = None,
) -> Tuple[npt.NDArray[np.int_], List[plt.axes]]:
) -> Tuple[npt.NDArray[np.int_], List[plt.Axes]]:
"""
Estimates variable importance from the BART-posterior.
Expand Down

0 comments on commit 2bf15ff

Please sign in to comment.