ltrujello / Tikz-Python

An object-oriented Python approach towards providing a giant wrapper for Tikz code, with the goal of streamlining the process of creating complex figures for TeX documents.
https://ltrujello.github.io/Tikz-Python
MIT License
16 stars 2 forks source link

small issue about auto generated tex template #1

Open lyyc199586 opened 10 months ago

lyyc199586 commented 10 months ago

A weired thing is the auto generated tex have

\usetikzlibrary{

    hobby, decorations.pathreplacing, decorations.markings

}

which gives me an error, this can be fixed by remove the blank line:

\usetikzlibrary{

    hobby, decorations.pathreplacing, decorations.markings
}

But I dont know why it generates a blank line in \usetikzlibrary ...

ltrujello commented 10 months ago

Interesting, thank you for letting me know! If you'd want to you can submit a pull request and I'll merge it in, otherwise I'll fix this sometime soon.