Skip to content

Instantly share code, notes, and snippets.

View sswatson's full-sized avatar

Samuel S. Watson sswatson

View GitHub Profile
using PlotlyJS, DataFrames
using PlotlyJS, DataFrames
import PlotlyJS: heatmap
function heatmap(df::DataFrame; axes=false, width=1000, height=1500)
layout = Layout(;xaxis=axes ? attr(
tickmode="array",
tickvals=0:size(df,2)-1,
ticktext=names(df),
tickangle=-60,
side="top"