epezent / epezent/implot

Get plot item visibility status

Open
#340 6 comments 5 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
6.2k
Forks
693
PR merge metrics
No merged PRs in 30d

Description

First off, thank you for the amazing library!

Is there any way to access plot item visibility? I am enjoying the cumulative histogram, and have added some vertical lines (with `PlotVLines`) at e.g. the 50th, 75th, ... percentiles.

![image](https://user-images.githubusercontent.com/5047515/159288885-70e4f8cc-bc5a-4b25-83ff-08daa69d4121.png)

But, when I hide one of these vertical lines, I would also like to hide to corresponding text, which I add with `PlotText`. If I could access the `item->Show` value, I would just skip over adding this vertical text.

![image](https://user-images.githubusercontent.com/5047515/159289091-88b36cc1-9d6a-4dfc-bb3c-60fe77966cf5.png)

I can't figure out a way to get access to the visibility status of that vertical line. Is there any way to do this currently?

Thank you! 🙇

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.