roek-pnnl
Results
2
comments of
roek-pnnl
We have had recent success getting plots to render when running a Julia shell from within VS code. For whatever reason, these plots don't suffer the same problem. If you...
In fact I just discovered that this function already exists! Input: ``` import plotly colorscale = plotly.colors.get_colorscale('Bluered') print(plotly.colors.sample_colorscale(colorscale, 0.5)) print(plotly.colors.sample_colorscale(colorscale, [0.1, 0.2])) ``` Output: ``` ['rgb(128, 0, 128)'] ['rgb(26, 0,...