Skip to content

This is a fork of the WG1 template

Notifications You must be signed in to change notification settings

itsaklid/wg1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 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

This is a fork of the WG1 template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%