gonum / plot

A repository for plotting and visualizing data
BSD 3-Clause "New" or "Revised" License
2.72k stars 202 forks source link

all: add AutoRescale to Axis #767

Closed sbinet closed 1 year ago

sbinet commented 1 year ago

This CL adds a new field to Axis to allow for a better interaction between a plot, an axis and its ticker, in order to automatically adapt the range of a given axis.

Please take a look.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage has no change and project coverage change: +1.63 :tada:

Comparison is base (a10bf61) 73.43% compared to head (d718b18) 75.07%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #767 +/- ## ========================================== + Coverage 73.43% 75.07% +1.63% ========================================== Files 56 58 +2 Lines 5176 7426 +2250 ========================================== + Hits 3801 5575 +1774 - Misses 1191 1654 +463 - Partials 184 197 +13 ``` | [Impacted Files](https://app.codecov.io/gh/gonum/plot/pull/767?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gonum) | Coverage Δ | | |---|---|---| | [axis.go](https://app.codecov.io/gh/gonum/plot/pull/767?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gonum#diff-YXhpcy5nbw==) | `84.70% <0.00%> (-2.24%)` | :arrow_down: | ... and [54 files with indirect coverage changes](https://app.codecov.io/gh/gonum/plot/pull/767/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gonum)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.