Skip to content

MarkusPrim/WG1Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

WG1Template

For basf2 users: setup your basf2 enviroment, then run

pip install git+https://github.com/MarkusPrim/WG1Template.git

to install the package.

Configuration

Align axis labels on the axes ends

To get axis labels at the axes ends, as was the default in previous versions of the WG1 template, you just have to change some global variables that the WG1 template uses:

wg1template.plot_style.xlabel_pos = {"x": 1, "ha": "right"}
wg1template.plot_style.ylabel_pos = {"x": 1, "ha": "right"}

Enable/disable errorbar caps and top-right ticks

The recommendations of the Belle2Style are not to have top/right axis ticks or errorbar caps, but some users might still prefer them. They can be enabled by

from wg1template plot_style
plot_style.set_matplotlibrc_params(errorbar_caps=True, top_right_ticks=True)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages