Skip to content

Commit

Permalink
GTEx-like plots
Browse files Browse the repository at this point in the history
  • Loading branch information
banskt committed Mar 27, 2019
1 parent 5a528e7 commit 188c3cf
Show file tree
Hide file tree
Showing 2 changed files with 352 additions and 4 deletions.
347 changes: 347 additions & 0 deletions analysis/jupyter/plot_crosstissue_validation_heatmap.ipynb

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions analysis/utils/mpl_stylesheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## https://matplotlib.org/users/dflt_style_changes.html
## matplotlib.rcParams[] =

def banskt_presentation(black = '#333333', linewidth = 2, ticksize = 8, fontsize = 20, padding = 10, fontfamily = 'latex', colors = 'banskt'):
def banskt_presentation(black = '#333333', linewidth = 2, ticksize = 8, fontsize = 28, padding = 10, fontfamily = 'latex', colors = 'banskt'):

if colors == 'banskt':
mcolors = banskt_colors()
Expand All @@ -31,7 +31,8 @@ def banskt_presentation(black = '#333333', linewidth = 2, ticksize = 8, fontsize
matplotlib.rcParams['mathtext.fontset'] = 'stixsans'

# Size
matplotlib.rcParams['figure.figsize'] = (8, 8)
matplotlib.rcParams['figure.figsize'] = 8, 8
matplotlib.rcParams['figure.dpi'] = 300

# Fonts
matplotlib.rcParams['font.size'] = fontsize
Expand Down Expand Up @@ -62,8 +63,8 @@ def banskt_presentation(black = '#333333', linewidth = 2, ticksize = 8, fontsize
matplotlib.rcParams['legend.markerscale'] = 1.0
# Dimensions as fraction of fontsize
matplotlib.rcParams['legend.borderpad'] = 0
matplotlib.rcParams['legend.labelspacing'] = 0.3
matplotlib.rcParams['legend.handlelength'] = 1.0
matplotlib.rcParams['legend.labelspacing'] = 0.8
matplotlib.rcParams['legend.handlelength'] = 0.5
matplotlib.rcParams['legend.handleheight'] = 0.9
matplotlib.rcParams['legend.handletextpad'] = 0.5

Expand Down

0 comments on commit 188c3cf

Please sign in to comment.