def grid(
df: pd.DataFrame,
media: str,
show: bool = True,
) -> Path:
df: pd.DataFrame
media: str
show: bool = True
True
, we will start a local server to display the plot in a web browser. False
, we only save the required data to serve the plot later on and return the path to where the data is stored. clusterfun serve {path-to-data}|{uuid}
in the command line to start a local server for the plot you are interested in.import pandas as pd
import clusterfun as clt
df = pd.read_csv("https://raw.githubusercontent.com/gietema/clusterfun-data/main/wiki-art.csv")
clt.grid(df, media="img_path")