Quickly plot neat charts and figures for scientific publications
Project description
Quick Scientific Plot
The toolkit aims to plot neat charts and figures given datasets for scientific publications.
Examples
Example 1: Word frequency stat
from quick_sci_plot import *
import pickle
# load a dictionary (term, count)
dict_tags_count=pickle.load(open("datasets/dict_tags_count.pickle","rb"))
plot_bar(dict_tags_count)
Example 2: Performance change
from quick_sci_plot import *
metrics = ['UMass', 'C_V', 'NPMI', 'UCI']
sub_fig = ['(a)', '(b)', '(c)', '(d)']
csv_path="datasets/topic model performance.csv"
plot_reg(csv_path,sub_fig=sub_fig,metrics=metrics,x_label='Number of topics')
License
The quick-sci-plot
toolkit is provided by Donghua Chen with MIT License.
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
quick-sci-plot-0.0.1.tar.gz
(7.4 kB
view details)
Built Distribution
File details
Details for the file quick-sci-plot-0.0.1.tar.gz
.
File metadata
- Download URL: quick-sci-plot-0.0.1.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.3 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2126c12980c98bddb2095ff294eef3c312bb089fc7e570cda441f16faaea142 |
|
MD5 | dabb896d61ea497f165ad9503037a7c9 |
|
BLAKE2b-256 | 1ea61a5c3662c3e6b1c0ce7bcdc3933737eece45b0d3c673e1cd4e4302cdaf0d |
File details
Details for the file quick_sci_plot-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: quick_sci_plot-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.3 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 187d9ae11e6dd0e2d23b0ef348648ff560bdc75977eaaf974c8595b4682e17a7 |
|
MD5 | 666ab58bed8f855b47490195bc538438 |
|
BLAKE2b-256 | 489f85d572a7752ac37f2bcf8b0b14ea454a53c26f53a0227e23e796dd6bc55f |