Code Monkey home page Code Monkey logo

Comments (4)

jbn avatar jbn commented on June 15, 2024

Sorry for the delay!

I think I know what's happening. Are you using Jupyter lab or Jupyter notebook? I'm assuming the latter, as I replicated the problem in notebook but failed to do so in lab. If you're using notebook, give it a try in lab and see if the problem persists. (I don't mean this as a solution; it's diagnostic.)

from itikz.

darrivau avatar darrivau commented on June 15, 2024

It does work with jupyter lab but still failed with nbconvert which is not convenient for any command line conversion in scripts.

from itikz.

jbn avatar jbn commented on June 15, 2024

I'm not sure if there is an easy fix here. The SVGs are isolated at generation time so you can extract them and process accordingly, but in a joined document they share IDs and get garbled. It would be nice if there was a way to mangle identifiers so they didn't do this but I'm not aware of a simple way of doing so.

(Leaving this open in case anyone does find one.)

from itikz.

vargonis avatar vargonis commented on June 15, 2024

How do you work around this problem? I've resorted to using itikz to generate an SVG and then just drop the cell and embed the result (as an image). I wish there was a better option!

from itikz.

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.