lgbouma / aesthetic

a e s t h e t i c

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

a e s t h e t i c

Style-related tools that I re-use across projects in astronomy.

Most relevant are the style sheets, which produce default plots as in the /results/ directory.

install

Option 1: pip install aesthetic

Option 2: Clone + python setup.py install from the repo. (or develop!)

contents

aesthetic.plot

  • set_style
  • set_style_scatter
  • savefig
  • format_ax

aesthetic.paper

  • abbreviate_the_bibliography

usage examples

for plot styles, see the test driver. the general syntax follows:

from aesthetic.plot import set_style
set_style("science")

set_style("clean")

About

a e s t h e t i c

License:MIT License


Languages

Language:Python 100.0%