Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

quick_sci_plot-0.0.1-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page