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",
figsize=(5.5,15),
main_plot_color="#902020",
category_fontsize=12,
group_title_fontsize=10,
)
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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a652fb0fb23edf159cdbd2db5820bcfac54c4eb8670ee9b55e4a55f4a17c0942 |
|
MD5 | f9da432ede878f6d43c310e46f1bf2f0 |
|
BLAKE2b-256 | 0ee41da80d57796b2541bbbbd03fb43ed95c7552184d009ed3cc4cfd69ab1488 |
Close
Hashes for multidirectional_graph-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 093927acf096a22c1332a84a5058215decd78a16c21c15ba048b7f8b626dce34 |
|
MD5 | d84806024cc5fd349b4d7c62754e8e33 |
|
BLAKE2b-256 | c5e7dbe5b3fb65526459d23bd8a44a65bfe590900a5bf56980c0cb2a79584988 |