8000 Problem multiple itikz images in a single notebook · Issue #12 · jbn/itikz · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Problem multiple itikz images in a single notebook #12
Open
@jeroenvuurens

Description

@jeroenvuurens
  • itikz version: 0.1.3
  • Python version: 3.7.1
  • Operating System: Ubuntu 18.04

Description

I am experiencing problems when a notebook contains more than one itikz drawing. Somehow the text labels in the second drawing is corrupted. In the below example, if you enter the code into three separate cells, in the second plot instead of a and y the text labels show x and z.

What I Did

%load_ext itikz

%%itikz --implicit-pic --file-prefix aa- --tikz-libraries=positioning,shapes,shadows,arrows
\tikzstyle{node}=[circle, draw=black, text centered, text width=0.5cm]
\node[node] (I-0) at (0,-0) {$x$};
\node[node] (O-0) at (3,-0) {$z$};

%%itikz --implicit-pic --file-prefix ab- --tikz-libraries=positioning,shapes,arrows
\tikzstyle{node}=[circle, draw=black, text centered, text width=0.5cm]
\node[node] (I-0) at (0,0) {$a$};
\node[node] (G-0) at (3,-0) {$y$};

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0