Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created October 10, 2020 07:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/dc3828394ea653790c743c4f16de54ba to your computer and use it in GitHub Desktop.
Save amankharwal/dc3828394ea653790c743c4f16de54ba to your computer and use it in GitHub Desktop.
import plotly.express as px
fig = px.parallel_coordinates(df2, color="mean_test_score",
labels=dict(zip(list(df2.columns),
list(['_'.join(i.split('_')[1:]) for i in df2.columns]))),
color_continuous_scale=px.colors.diverging.Tealrose,
color_continuous_midpoint=27)
fig.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment