interactive icon indicating copy to clipboard operation
interactive copied to clipboard

Polyglot F# notebook: displayHandle.Update would not use the initial image

Open Jinsong-1000 opened this issue 4 months ago • 0 comments

Describe the bug

I am trying to draw images dynamically using SkiaSharp in a PolyGlot notebook, script language is F#. A displayHandler is initiated after displaying an image using HTML encode, however the subsequent drawings update creates a second image and updates there.

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):

  • OS
    • [x] Windows 11
    • [ ] Windows 10
    • [ ] macOS
    • [ ] Linux (Please specify distro)
    • [ ] iOS
    • [ ] Android
  • Browser
    • [ ] Chrome
    • [x] Edge
    • [ ] Firefox
    • [ ] Safari
  • Frontend
    • [ ] Jupyter Notebook
    • [ ] Jupyter Lab
    • [ ] nteract
    • [x] Visual Studio Code
    • [ ] Visual Studio Code Insiders
    • [ ] Visual Studio
    • [ ] Other (please specify)

Screenshots

Image

test progressive drawing.ipynb

Jinsong-1000 avatar Oct 08 '25 16:10 Jinsong-1000