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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 695c4d1af0ce1b95881e4e987bf33c6d511d5424475c26bf1f84d925208b605a |
|
MD5 | 1293707daba12c7850fac59e19d0adf0 |
|
BLAKE2b-256 | 338ec1129f9b2acb6fe50cc9544b730ebffbf4baaf6ccaa132ffc94546b1c021 |
Close
Hashes for multidirectional_graph-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd039489665da4d9a9ca1149ff59a11c06b53335809addb8b662fc8907dfd89d |
|
MD5 | 32bb5d59cd23d7b6eb96f68fad7d3a4a |
|
BLAKE2b-256 | 582049ca28d4675a2fdbcfa9548a93dbfc04e6fdb7cb12ca335a6fc82371e111 |