Skip to content

Add ability to specify median and mean lines for diurnal plots - #232

Open
Tom-Kingstone wants to merge 2 commits into
developfrom
Python_Toolkit-#230-TogglableDiurnalProperties
Open

Add ability to specify median and mean lines for diurnal plots#232
Tom-Kingstone wants to merge 2 commits into
developfrom
Python_Toolkit-#230-TogglableDiurnalProperties

Conversation

@Tom-Kingstone

Copy link
Copy Markdown
Contributor

NOTE: Depends on

Issues addressed by this PR

Closes #230

see linked issue
Added ability to remove the mean or median line.

Also added explicit quantile_range argument so it is clearer that that is possible from the method signature

Test files

Changelog

  • Added ability to remove the mean and median line from diurnal plots.
  • Added explicit argument for quantile_range for diurnal plots.

Additional comments

@Tom-Kingstone Tom-Kingstone self-assigned this Jul 29, 2026
@Tom-Kingstone Tom-Kingstone added the type:feature New capability or enhancement label Jul 29, 2026

@jamesramsden-bh jamesramsden-bh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On lines 137-138, you redefine mean and median, which then confuses lines 194 and 204. Consequently, I got an error when I ran a diurnal plot, where you attempt to get a true/false of a series object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:feature New capability or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Diurnal plots - toggle mean/median or remove mean

2 participants