Package for plotting multidirectional graphs
Project description
Multidirectional Graph
Multidirectional Graph is a Python package that allows you to easily create graphs with multiple evaluation criteria, such as good, neutral, and bad.
Installation
You can install Multidirectional Graph using pip:
pip install multidirectional-graph
Usage
Here is an example of how to use Multidirectional Graph:
from multidirectional_graph import MultidirectionalGraph
data = {
"Leitura": {
"categ 1A": 5,
"categ 1B": 9,
"categ 1C": 5,
},
"Escrita": {
"categ 2A": 2,
"categ 2B": 4,
"categ 2C": 9,
"categ 2D": 3,
},
"Nome extremamente grande\nque não cabe no espaço": {
"categ 3A": 6,
"categ 3B": 7,
},
"Listening": {
"categ 4A": 2,
"categ 4B": 3,
},
}
added_data = {
"categ 1A": 4,
"categ 1B": 5,
"categ 1C": 4,
"categ 2A": 3,
"categ 2B": 3,
"categ 2C": 7,
"categ 2D": 2,
"categ 3A": 7,
"categ 3B": 6,
"categ 4A": 3,
"categ 4B": 2,
}
graph = MultidirectionalGraph(
data,
tipo_avaliacao = "Lingua Inglesa",
good_color="green",
figsize=(5.5,15)
)
graph.add_values(added_data, label="Autoavaliação")
fig = graph.plot()
fig.savefig("images/teste.png", dpi=100, bbox_inches='tight')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for multidirectional_graph-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 429e1c3bd8dcfdded4ba3ea0489dc8c21e8415497ea065cec726160c939941f1 |
|
MD5 | 13cc9b2a1f91557eaf633dcac6baf7d4 |
|
BLAKE2b-256 | b21fdfcb7916ea321cf3ef87e64ace13c7c5a141f79197a61ba5bb3e602eea4c |
Close
Hashes for multidirectional_graph-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 730542b52ead069efe7864e7004360307d587add7772a7049f3392c63cb86d8c |
|
MD5 | d09c90f0a3b24e02b8bc5c0d0d019bf3 |
|
BLAKE2b-256 | 0b77a661189fe9f8ffb32a26209472b279cbdf536d62d5c2da8abc28e7763a27 |