Skip to content

Instantly share code, notes, and snippets.

View olgabot's full-sized avatar

Olga Botvinnik olgabot

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@olgabot
olgabot / 2013-12-24_stackoverflow_matplotlib_fonts.ipynb
Created December 23, 2013 16:23
Finding matplotlib font locations
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@olgabot
olgabot / radar_plot.ipynb
Created December 24, 2013 00:34
Prettyplotlib with radar_plot
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@olgabot
olgabot / seaborn_violinplot_series_gropuby.ipynb
Created December 24, 2013 22:48
Seaborn violin plots series with groupby
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@olgabot
olgabot / matplotlib_spines_rcparams.ipynb
Created January 4, 2014 20:52
Matplotlib spines/ticks rcParams
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@olgabot
olgabot / seaborn_heatmap.ipynb
Last active January 2, 2016 18:09
clustered heatmaps in seaborn
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
pkm = df_tidy[df_tidy.miso_id == gene_name_to_miso_mxe['PKM'][0]]
fig, ax = plt.subplots(1, figsize=(8,6))
sns.violinplot(pkm.value, pkm.celltype, "points", fig=fig, ax=ax,
color=[common.p_color, common.n_color, common.m_color,
common.o_color, 'white'],
bw=0.03, order=['iPSC', 'NPSC', 'MotorNeu', 'Outliers', 'pooled'],
alpha=0.75, linewidth=1)
sns.despine()
xmin, xmax, ymin, ymax = ax.axis()
ax.hlines((0.3, 0.7), xmin, xmax, color='k', alpha=0.8, linewidth=0.5)
@olgabot
olgabot / pymc_gfortran_error.txt
Last active January 3, 2016 12:09
gfortran error installing pymc on OS X mavericks
scrm-bio-228-232-2:~ olga$ pip install -vvv pymc
Downloading/unpacking pymc
Getting page https://pypi.python.org/simple/pymc/
URLs to search for versions for pymc:
* https://pypi.python.org/simple/pymc/
Analyzing links from page https://pypi.python.org/simple/pymc/
Skipping link https://pypi.python.org/packages/2.5/p/pymc/pymc-2.0-py2.5-macosx-10.3-i386.egg#md5=23886f86615004f777a0470c69edf265 (from https://pypi.python.org/simple/pymc/); unknown archive format: .egg
Skipping link https://pypi.python.org/packages/2.5/p/pymc/pymc-2.0.win32-py2.5.exe#md5=a96a9c90edd4848bffdff8a809b901e8 (from https://pypi.python.org/simple/pymc/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.5/p/pymc/pymc-2.1beta.win32-py2.5.exe#md5=fdba7f86d41ab515f718b4a5889ed140 (from https://pypi.python.org/simple/pymc/); unknown archive format: .exe
Skipping link https://pypi.python.org/packages/2.6/p/pymc/pymc-2.1beta-py2.6-macosx-10.6-universal.egg#md5=9c7513869c28d94fb618d8ef140a76
@olgabot
olgabot / gist:8460937
Created January 16, 2014 18:49
After installing ATT gcc/gfortran
This file has been truncated, but you can view the full file.
tac
ta
scrm-bio-228-232-2:~ olga$ tac
-bash: tac: command not found
scrm-bio-228-232-2:~ olga$ ta
scrm-bio-228-232-2:rosalind-c olga$ cd rosalind_problems/Chapter\ 4-Assembly/figures/
scrm-bio-228-232-2:figures olga$ git add . ; git commit -m 'finished overlap graph' ; git push origin master
[master 5822e8a] finished overlap graph
21 files changed, 196 insertions(+), 198 deletions(-)
create mode 100644 rosalind_problems/LaTeX Files/Chapters/Assembly.log
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.