Skip to content

Commit

Permalink
appease linters
Browse files Browse the repository at this point in the history
  • Loading branch information
austinorr committed Jan 3, 2025
1 parent 73c689c commit e83f3c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nereid/nereid/src/network/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def render_subgraphs(
ax.set_yticks([])
ax.axis("off")

fig = ax.get_figure() or Figure()
fig = ax.get_figure(root=True) or Figure()

return fig

Expand Down Expand Up @@ -214,7 +214,7 @@ def render_solution_sequence(

ax.legend(loc="center right", bbox_to_anchor=(-0.05, 0.5))

fig = ax.get_figure() or Figure()
fig = ax.get_figure(root=True) or Figure()

return fig

Expand Down
2 changes: 1 addition & 1 deletion nereid/nereid/src/nomograph/interpolators.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def interp_kwargs(self) -> dict[str, Any]: # pragma: no cover
return self._interp_kwargs

@property
def ct2di(self):
def ct2di(self) -> CT2DI:
if self._ct2di is None:
self._ct2di = CT2DI(
points=numpy.column_stack((self.x_data, self.t_data)),
Expand Down

0 comments on commit e83f3c3

Please sign in to comment.