-
Notifications
You must be signed in to change notification settings - Fork 7
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
Adding support for FigureSpec model in intents #64
Comments
@danielballan A few questions about
|
Follow-up from the call:
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Notes and follow-up thoughts from today's best-effort-viz call with @ronpandolfi, @HarinarayanKrishnan, @ihumphrey, @cryos, and @AbbyGi
FigureSpec
). The "canvas" objects that interpret them could likewise grow to understand these and create what amounts to a PyQtGraph view forFigureSpec
. This would allow us to experiment with integrating the two without fully committing.FigureSpec
(and friends) over intents as a base layer. One I thought of on the call: intents accept a single namespace of kwargs, whereas there is a nesting tofigure.axes[0].lines[0]
that keeps things organized and separatesfigure.title
vsfigure.axes[0].title
vsfigure.axes[1].title
for example. But, as @ronpandolfi observed, this could definitely be recreated with nested dicts in the signature without any fundamental difference. The second is, by encoding the plot description in observable objects with properties that emit signals when they are set, conceptually similar to Qt signals/slots or Jupyter traitlets, we make it possible to define them in one part of the code and then change/update/augment them in another part of the code in a way that the view code can immediately respond to just by subscribing to the relevant signals as soon as it receives the model.Edited potentially confusing typos for clarity.
The text was updated successfully, but these errors were encountered: