Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/negrinho/sane_tikz

Reconquer the canvas: beautiful Tikz figures without clunky Tikz code
https://github.com/negrinho/sane_tikz

diagrams latex scientific-visualization tikz tikz-figures tikz-images tikz-library visualization

Last synced: 11 days ago
JSON representation

Reconquer the canvas: beautiful Tikz figures without clunky Tikz code

Awesome Lists containing this project

README

        

I recommend using [VS Code](https://code.visualstudio.com) with
[LaTeX Workshop](https://marketplace.visualstudio.com/items?itemName=James-Yu.latex-workshop) for easily visualizing changes to figures. In preview mode, once you run the code to regenerate the tex file for the figure, the figure should update automatically in the pdf preview window.
If `sane_tikz` was useful for you to create figures for your paper, consider mentioning it in the acknowledgements and share it via an issue or email or on Twitter with the hashtag #sane_tikz.
See [tutorial](tutorial.md) for a high-level description of the design decisions or dive right into the examples.
Use `pip install sane_tikz` to install from PyPi and `git clone https://github.com/negrinho/sane_tikz && cd sane_tikz && pip install -e .` to install from the repo.

# Examples

Check the [examples](https://github.com/negrinho/sane_tikz/blob/master/examples/):

- segments: [[py]](https://github.com/negrinho/sane_tikz/blob/master/examples/segments.py) [[tex]](https://github.com/negrinho/sane_tikz/blob/master/examples/segments.tex) [[pdf]](https://github.com/negrinho/sane_tikz/blob/master/examples/segments.pdf)





- flowchart: [[py]](https://github.com/negrinho/sane_tikz/blob/master/examples/flowchart.py) [[tex]](https://github.com/negrinho/sane_tikz/blob/master/examples/flowchart.tex) [[pdf]](https://github.com/negrinho/sane_tikz/blob/master/examples/flowchart.pdf)





- pentagon: [[py]](https://github.com/negrinho/sane_tikz/blob/master/examples/pentagon.py) [[tex]](https://github.com/negrinho/sane_tikz/blob/master/examples/pentagon.tex) [[pdf]](https://github.com/negrinho/sane_tikz/blob/master/examples/pentagon.pdf)





- boxes: [[py]](https://github.com/negrinho/sane_tikz/blob/master/examples/boxes.py) [[tex]](https://github.com/negrinho/sane_tikz/blob/master/examples/boxes.tex) [[pdf]](https://github.com/negrinho/sane_tikz/blob/master/examples/boxes.pdf)





- lda: [[py]](https://github.com/negrinho/sane_tikz/blob/master/examples/lda.py) [[tex]](https://github.com/negrinho/sane_tikz/blob/master/examples/lda.tex) [[pdf]](https://github.com/negrinho/sane_tikz/blob/master/examples/lda.pdf)





- tree: [[py]](https://github.com/negrinho/sane_tikz/blob/master/examples/tree.py) [[tex]](https://github.com/negrinho/sane_tikz/blob/master/examples/tree.tex) [[pdf]](https://github.com/negrinho/sane_tikz/blob/master/examples/tree.pdf)





- transformer: [[py]](https://github.com/negrinho/sane_tikz/blob/master/examples/transformer.py) [[tex]](https://github.com/negrinho/sane_tikz/blob/master/examples/transformer.tex) [[pdf]](https://github.com/negrinho/sane_tikz/blob/master/examples/transformer.pdf)





- xlnet: [[py]](https://github.com/negrinho/sane_tikz/blob/master/examples/xlnet.py) [[tex]](https://github.com/negrinho/sane_tikz/blob/master/examples/xlnet.tex) [[pdf]](https://github.com/negrinho/sane_tikz/blob/master/examples/xlnet.pdf)





- deep_architect: [[py]](https://github.com/negrinho/sane_tikz/blob/master/examples/deep_architect.py) [[tex]](https://github.com/negrinho/sane_tikz/blob/master/examples/deep_architect.tex) [[pdf]](https://github.com/negrinho/sane_tikz/blob/master/examples/deep_architect.pdf)





# Roadmap

- Easy GIF generation
- Multiple output formats (png, svg, ...)
- 3D plotting
- More 2D plotting primitives for common plots (bar, line, scatter, ...)
- Slide deck creation (i.e., an alternative to Beamer)