Giter VIP home page Giter VIP logo

Comments (4)

bryevdv avatar bryevdv commented on May 23, 2024

It's possible the code block in the narrative docs has fallen out of sync with the actual (working) code that generated the working custom slider in the docs. That code is here:

https://github.com/bokeh/bokeh/blob/branch-3.3/examples/advanced/extensions/putting_together.py

I'll have to compare it when I get a chance.

from bokeh.

mattpap avatar mattpap commented on May 23, 2024

The code snippet in the docs is very outdated. The variant in examples/ directory is fine. It would be perfect if we could somehow avoid copying complex code between examples and docs, or perhaps have a way of compiling the contents of docs.

from bokeh.

bryevdv avatar bryevdv commented on May 23, 2024

We have that, and it is used extensively in the docs, but it only works for single Python files. However there was a desire to split up this example in the narrative docs to provide more context to the different pieces, and suggest that things could be split across multiple files. I was going to suggest what you have done in he PR (split off the TS code and literalinclude it) as a possible compromise

from bokeh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.