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

colorbar keyword for iris.quickplot routines #6169

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

ukmo-ccbunney
Copy link

🚀 Pull Request

Description

New boolean colorbar keywork allows user to control automatic generation of a colorbar in iris.quickplot plotting routines.
Only implemented for pcolormesh, colormesh and coutourf as the other plotting routines do not generate a colorbar.

Fixes: #5970


Consult Iris pull request check list

user to control automatic generation of a colorbar.
@ukmo-ccbunney ukmo-ccbunney self-assigned this Oct 9, 2024
pre-commit-ci bot and others added 3 commits October 9, 2024 08:16
…ney/iris into feature/qplt_colorbar

* 'feature/qplt_colorbar' of https:/ukmo-ccbunney/iris:
  [pre-commit.ci] auto fixes from pre-commit.com hooks
Copy link

codecov bot commented Oct 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.81%. Comparing base (cc60a60) to head (1c9d8d4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6169   +/-   ##
=======================================
  Coverage   89.81%   89.81%           
=======================================
  Files          88       88           
  Lines       23174    23177    +3     
  Branches     5045     5045           
=======================================
+ Hits        20814    20817    +3     
  Misses       1623     1623           
  Partials      737      737           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ukmo-ccbunney
Copy link
Author

@trexfeathers I've added 3 new tests for this change in test_quickplot.py::TestLabels and generated the new images and imagerepo.json files. If you're happy with the tests I've added, then I'll update raise a PR for the iris-test-data repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Configurable colorbar in iris.quickplot
1 participant