owid / owid-grapher

A platform for creating interactive data visualizations
https://ourworldindata.org
MIT License
1.35k stars 227 forks source link

🐛 (facet) hide legends with a single bin #3569

Closed sophiamersmann closed 1 month ago

sophiamersmann commented 2 months ago

Fixes https://github.com/owid/owid-grapher/issues/2594

Hides single-item legends for facetted charts (ok since the entity name is mentioned in the title).

sophiamersmann commented 2 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @sophiamersmann and the rest of your teammates on Graphite Graphite

owidbot commented 2 months ago
Quick links (staging server): Site Admin Wizard

Login: ssh owid@staging-site-line-legend

SVG tester: Number of differences (default views): 5 ([3f3cba](https://github.com/owid/owid-grapher-svgs/commit/3f3cba7ad4df5dc9b8147aacc81eb8431c85f396)) Number of differences (all views): 155 ([247f68](https://github.com/owid/owid-grapher-svgs/commit/247f6882a4482aea9faca4eac54af0c7c7ea1b6f))

Edited: 2024-05-13 13:23:15 UTC Execution time: 1.20 seconds