Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/negrinho/sane_tikz
- Owner: negrinho
- License: mit
- Created: 2019-09-02T04:34:24.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-18T16:54:58.000Z (almost 4 years ago)
- Last Synced: 2024-10-30T14:52:17.617Z (11 days ago)
- Topics: diagrams, latex, scientific-visualization, tikz, tikz-figures, tikz-images, tikz-library, visualization
- Language: Python
- Size: 401 KB
- Stars: 380
- Watchers: 10
- Forks: 34
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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)