Skip to content

Commit

Permalink
Typing for Borefield.visualize_field
Browse files Browse the repository at this point in the history
  • Loading branch information
MassimoCimmino committed Dec 1, 2024
1 parent 033c9ac commit 1084a09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pygfunction/borefield.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from typing_extensions import Self # for compatibility with Python <= 3.10

import matplotlib.pyplot as plt
from matplotlib.figure import Figure
import numpy as np
import numpy.typing as npt

Expand Down Expand Up @@ -305,7 +306,8 @@ def evaluate_g_function(
return gfunc.gFunc

def visualize_field(
self, viewTop=True, view3D=True, labels=True, showTilt=True):
self, viewTop: bool = True, view3D: bool = True,
labels: bool = True, showTilt: bool = True) -> Figure:
"""
Plot the top view and 3D view of borehole positions.
Expand Down

0 comments on commit 1084a09

Please sign in to comment.