-
Notifications
You must be signed in to change notification settings - Fork 541
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
Digital value enhancement #321
Comments
Hey Peter! Totally agree we should give Regarding you other points:
I have generally avoided cluttering Text is an odd one, and maybe a callback is best for this.
Plot digital could take an
This is something we really need to implement API wide. I'm just not sure how to do it efficiently yet (both from a performance standpoint and the amount of new code I'd need to write). |
Thinking more about how to do 292 generically, what if these labels were simply additional axes that have vertical placement (eg you can specify top and bottom, rather than having them always span the entire height of the plot like current axes do)? With the setup API it’s much more natural to add more axes. There’s some other benefits of this approach too in API space, e.g. it’s natural to plot multiple lines if desired on one of the vertically stacked axes, drag and drop and hover etc fall into the existing axes API, you can easily graph analog range next to digital without overlap, etc. |
Re: #298, what about a |
While the digital signal capability of LinePlot is nice, it would be very cool to have a more powerful version of it to display things like digital busses or states similar to a logic analyzer display. The input for this would be a X value, text to display, background color, and text color--although some of the examples below would require a boolean for a "empty" state (a middle line). The output visually would look like some of the examples below. Ideally it would also support getting hovered state to display extra information.
An enhancement similar to #292 would pair nicely with this, as seen in many of the below examples.
The text was updated successfully, but these errors were encountered: