Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portrait plot annotate text color #999

Merged
merged 3 commits into from
Nov 9, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
clean up -- pre-commit fix
  • Loading branch information
lee1043 committed Nov 8, 2023
commit d233ad591a0f3cc38d3e4b3fe27a6dc355c5f826
2 changes: 1 addition & 1 deletion pcmdi_metrics/graphics/portrait_plot/portrait_plot_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ def annotate_heatmap(
kw.update(color=textcolors[int(data[i, j] > threshold)])
text = ax.text(j + 0.5, i + 0.5, valfmt(annotate_data[i, j], None), **kw)
texts.append(text)

return ax


Expand Down
Loading