Skip to content

Instantly share code, notes, and snippets.

View krassowski's full-sized avatar

Michał Krassowski krassowski

View GitHub Profile
@krassowski
krassowski / README.md
Last active August 27, 2021 16:28 — forked from fomightez/README.md
RetroLab 0.2.2 combined with RTC on Binder
@krassowski
krassowski / README.md
Last active September 25, 2021 15:53
Language packs JupyterLab 3.1.13 and server 2.8.1

JupyterLab 3.1.13 on Binder with language packs (broken)

Binder

@krassowski
krassowski / README.md
Created September 25, 2021 15:53
Language packs JupyterLab 3.1.13 and server 2.8.2

JupyterLab 3.1.13 on Binder with language packs (working)

Binder

@krassowski
krassowski / export_to_spreadsheet.py
Created October 15, 2021 16:04
Export tables to spreadsheet
from pandas import DataFrame, ExcelWriter, Series
# assuming you have tables:
participants_sumnary = DataFrame()
measured_things = DataFrame()
correlation_results = DataFrame()
model_results = DataFrame()

JupyterLab 3.2 on Binder with some extra libraries

Binder

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@krassowski
krassowski / README.md
Last active December 17, 2021 20:00
# JupyterLab 3.2.3

JupyterLab 3.2.3

Binder

@krassowski
krassowski / ggtext_labels_fontawesome.R
Last active March 17, 2022 16:43
ggtext labels fontawesome
library(ggtext)
library(ggplot2)
library(fontawesome)
fa_html = function(icon) {
fa_png(icon)
paste0("<img src='", icon, ".png' width='20'>")
}
icons_map = c(
@krassowski
krassowski / example_font_awesome.R
Created March 17, 2022 18:06
ggplot geom_font_awesome
library(ggplot2)
source('geom_font_awesome.R')
shapes_map = c(
setosa = 'car',
virginica = 'ban',
versicolor = 'star'
)
(
@krassowski
krassowski / rpy2-complex-heatmap-repro.ipynb
Created July 23, 2022 22:10
rpy2-complex-heatmap-repro
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.