-
I have been looking through the PR (#1836) and notebook that describe Plot's extensibility. Both documents are super useful to learn what is possible with Plot. I particularly like the possibilities provided by creating custom marks that extend the Mark class. This approach gives freedom to build basically anything, while keeping access to all the cool features Plot provides. To facilitate writing custom Mark classes, is there a way to access Plot's internal functions from outside code? For example, to use functions from I realise this is more of a developer than an end-user question. I also realise Plot's internal functions are subject to change (without notice), but that seems reasonable for plugin / extension development. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks for the feedback! We're limiting the exposure to what we can document and maintain (say, the "white zone"), while ensuring the possibility of making extensions with a well-defined API. We won't open a "gray zone" with functions that would be half-documented and half-maintained. I understand the pain because I often want to reach for these functions myself when writing plugins or demos, but there's a saying that every undocumented API becomes someone's baseline. If something feels absolutely worth exposing, we'll have to think about moving it to the white zone. |
Beta Was this translation helpful? Give feedback.
Thanks for the feedback! We're limiting the exposure to what we can document and maintain (say, the "white zone"), while ensuring the possibility of making extensions with a well-defined API. We won't open a "gray zone" with functions that would be half-documented and half-maintained. I understand the pain because I often want to reach for these functions myself when writing plugins or demos, but there's a saying that every undocumented API becomes someone's baseline. If something feels absolutely worth exposing, we'll have to think about moving it to the white zone.