README.md

plotfig #

English | 中文文档

PyPI version Python version License

A Python visualization library designed for cognitive neuroscience research, providing efficient, easy-to-use, and beautiful plotting tools.

plotfig

Features #

  • Multiple Chart Types: Bar charts, matrix plots, correlation plots, circos plots, brain surface plots, brain connectivity plots
  • Professional Research Style: Built-in color schemes that meet academic publication standards
  • Automatic Significance Testing: Built-in statistical methods with automatic significance annotations
  • Designed for Neuroscience: Supports common primate brain atlases and brain network visualization
  • Easy to Use: Simple API for quick getting started

Quick Start #

from plotfig import plot_one_group_bar_figure

# Plot single group bar chart
data = [[1.2, 2.3, 3.1], [4.5, 5.6, 6.2]]
plot_one_group_bar_figure(data)
plt.show()

Installation #

plotfig requires Python 3.11 or higher.

Install with uv:

uv add plotfig

Install with pip:

pip install plotfig

Documentation #

For detailed documentation and usage examples, please visit the plotfig documentation.

Contributing #

We welcome Issues and PRs! Whether it's bug reports, feature suggestions, or documentation improvements, please feel free to open an Issue.