import seaborn as sns
from plotjs import PlotJS
sns.set_theme(style="white")
# Load the example mpg dataset
mpg = sns.load_dataset("mpg")
# Plot miles per gallon against horsepower with other semantics
sns.relplot(
x="horsepower",
y="mpg",
hue="origin",
size="weight",
sizes=(40, 400),
alpha=0.5,
palette="muted",
height=6,
data=mpg,
)
PlotJS().add_tooltip(labels=mpg["horsepower"]).show()
Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 2245 of the JSON data
Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 2245 of the JSON data