Skip to content

Commit

Permalink
added explicit return statements to feature_visualization.py functions
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoshiko committed May 29, 2024
1 parent 3eeb68f commit 64125a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nrel/routee/powertrain/validation/feature_visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ def visualize_features(

if return_predictions:
return predictions
else:
return None


def contour_plot(
Expand Down Expand Up @@ -273,3 +275,5 @@ def contour_plot(
plt.show()

plt.close()

return None

0 comments on commit 64125a8

Please sign in to comment.