On Monday, March 30, 2020 at 8:12:25 AM UTC-4, Thomas Passin wrote: > On Monday, March 30, 2020 at 6:48:29 AM UTC-4, Edward K. Ream wrote: >> >> Thomas Passin and I have been discussing his vr3 plugin in private. This >> is a great plugin. Our conversation deserves to be public. >> >> Here I am going to discuss what I think I know about vr3 and its >> relationship with the holoviews <http://holoviews.org/>and bokeh >> <https://docs.bokeh.org/en/latest/docs/user_guide.html>packages. I'll >> keep this as short as possible. >> [snip] >> >
> I wonder, though, whether some of the rST code is necessary. Thomas, >> wouldn't it be simpler (for users) for vr3 to support something like: >> >> @language rst >> Here is the resulting interactive graph: >> @image curve.html >> > > Not in this case, because the output is interactive javascript code, not > just an image file. Matplotlib will produce an image file, and then you > could probably do it that way. > > Also, for there to be an @image directive, we'd have to think it through > carefully to understand what should happen if someone put one into the > middle of a code block. In principle, it would be a good thing to have a > language-agnostic directive like this that you could use the same way with > both MD and RsT, so the idea is attractive from that point of view. > If we were to adopt an @image directive, then we ought to also adopt an @html-blob one. This would be used for interactive plots from Bokeh, animations, etc. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/e12c1d17-8e2c-4289-b592-077e62d8c9f1%40googlegroups.com.
