Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/praeclarumjj3/granim

Python Package to Plot Graphs using the Manim Engine.
https://github.com/praeclarumjj3/granim

graph-plot manim-engine pypi-package python

Last synced: about 2 months ago
JSON representation

Python Package to Plot Graphs using the Manim Engine.

Awesome Lists containing this project

README

        

# granim

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![PyPI version](https://badge.fury.io/py/granim.svg)](https://badge.fury.io/py/granim)
[![OS](https://img.shields.io/badge/OS-Linux-orange.svg)](https://shields.io/)

- A **Python Package** to plot graphs using the [Manim](https://github.com/3b1b/manim) Engine.

- **Project page**: https://pypi.python.org/pypi/granim
- **GitHub**: https://github.com/praeclarumjj3/granim

## Setup

### Requirements:

- `System Libraries`: Using apt
```bash
sudo apt install sox ffmpeg libcairo2 libcairo2-dev
```

- `pycairo`: version 1.10.0 or greater
```bash
pip install pycairo
```

- `texlive-full`: Using apt
```bash
sudo apt install texlive-full
```

### Installation:

```bash
pip install granim
```

## Quickstart

- Plotting from a sample csv file (already present in the package structure):

```bash
granim-plot demo csv
```

- Plotting a set of points (already defined in the package code):

```bash
granim-plot demo points
```

*Note:* The package currently supports only these two functions. I plan to include a lot more options and solve a few issues in near future.

## Contributing

Contributions are always welcome and credit will be given!

- :heavy_check_mark: If you wish to add a new feature, open a PR.

- :bug: If you find a bug, open an issue.

- :books: Docs contribution are also appreciated!