Skip to content

jaryaman/mystyle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mystyle

DEPRECATED: Please see https://github.com/jaryaman/systyle

A set of functions to tweak matplotlib default plotting style and some useful plots

Author: Juvid Aryaman

Installation

$ git clone https://github.com/jaryaman/mystyle
$ cd mystyle/
$ pip install -e .

Alternatively, after cloning the repo, if you are on Anaconda use the command

$ ln -s mystyle /home/[user_name]/anaconda3/lib/python3.6/site-packages

or some appropriate alternative. For example, on Windows,

mklink /D C:\Users\[user_name]\Anaconda3\Lib\site-packages C:\Users\[user_name]\Directory\To\mystyle

To set up fonts,

$ sudo apt-get install msttcorefonts -qq
$ rm ~/.cache/matplotlib -fr

Usage

For example,

import mystyle.sty as sty
sty.reset_plots() # allow LaTeX, make figure text large, and use an Arial font

Releases

No releases published

Packages

No packages published

Languages