Skip to content

Commit

Permalink
Merge pull request #1078 from PCMDI/1077_kristinchang3_PortraitPlotUp…
Browse files Browse the repository at this point in the history
…date

Update portrait_plot_lib.py
  • Loading branch information
lee1043 committed Apr 24, 2024
2 parents 2026ee0 + fb6d8c7 commit bc01f95
Show file tree
Hide file tree
Showing 4 changed files with 174 additions and 123 deletions.
62 changes: 31 additions & 31 deletions pcmdi_metrics/graphics/portrait_plot/portrait_plot_example.ipynb

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions pcmdi_metrics/graphics/portrait_plot/portrait_plot_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,6 @@ def prepare_data(data, xaxis_labels, yaxis_labels, debug=False):
if debug:
print("num_divide:", num_divide)

# Mask out nan data
data = np.ma.masked_invalid(data)

return data, num_divide


Expand Down
148 changes: 70 additions & 78 deletions pcmdi_metrics/graphics/portrait_plot/portrait_plot_mean_clim.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit bc01f95

Please sign in to comment.