Skip to content

Instantly share code, notes, and snippets.

View FanchenBao's full-sized avatar

Fanchen Bao FanchenBao

View GitHub Profile
@davidteren
davidteren / nerd_fonts.md
Last active July 2, 2025 14:14
Install Nerd Fonts via Homebrew [updated & fixed]
@clane9
clane9 / plotly_dash_crossfilter_recipe.py
Created November 21, 2022 15:57
Fixed generic crossfilter recipe for Plotly Dash
from dash import Dash, dcc, html
import numpy as np
import pandas as pd
from dash.dependencies import Input, Output
from dash.exceptions import PreventUpdate
import plotly.express as px
def get_figure(df, x_col, y_col, selectedpoints=None, selectedpoints_local=None, pad=0.04):
if selectedpoints is None: