About 50 results
Open links in new tab
  1. Plotly: How to set node positions in a Sankey Diagram?

    In go.Sankey() set arrangement='snap' and adjust x and y positions in x=<list> and y=<list>. The following setup will place your nodes as requested. Plot: Please note that the y-values are not …

  2. python - Set the range of the y axis in Plotly - Stack Overflow

    I made a line plot with Plotly. How can I set the range of Y axis to always have it in [0; 10]?

  3. python - converting jupyter notebook (.ipynb) with to HTML using ...

    May 11, 2025 · import plotly.io as pio pio.write_html(fig, 'file_name.html', auto_open=True) Unless you would like to stick to the jupyter nbconvert conversion. UPDATED EDIT: An arbitrary number of …

  4. Plotly: How to filter a pandas dataframe using a dropdown menu?

    Dec 19, 2019 · Plotly: How to filter a pandas dataframe using a dropdown menu? Asked 6 years, 2 months ago Modified 4 years ago Viewed 27k times

  5. How to change the x-axis and y-axis labels in plotly?

    Jan 31, 2022 · How can I change the x and y-axis labels in plotly because in matplotlib, I can simply use plt.xlabel but I am unable to do that in plotly. By using this code in a dataframe: Date = …

  6. How to define colors in a figure using Plotly Graph Objects and Plotly ...

    Aug 18, 2020 · How to define colors in a figure using Plotly Graph Objects and Plotly Express Asked 5 years, 6 months ago Modified 1 year, 6 months ago Viewed 96k times

  7. python - Re-order axis in Plotly graph - Stack Overflow

    Jun 21, 2021 · Whether using Plotly Express or not, categories can be sorted alphabetically or by value using the categoryorder attribute: and also: This example shows how to control category order when …

  8. Plotly chart not showing in Jupyter notebook - Stack Overflow

    Oct 12, 2018 · I’m running plotly=5.9.0 in jupyter-notebook=6.5.2 through my DataSpell IDE. Although currently functional as of 20 April, 2023, many of the historical solutions for rendering Plotly graphics …

  9. Change the default color palette in Plotly - Stack Overflow

    Jul 21, 2020 · I can change the default theme using: import plotly.io as pio pio.templates.default = 'plotly_white' But I how do I change the default color palette?

  10. python - Plotly: Create a Scatter with categorical x-axis jitter and ...

    Nov 27, 2020 · There aren't many challenging Plotly questions these days. The key elements to creating a scatter graph with jitter are: Using mode: 'box' - to create a box-plot, not a scatter plot. Setting …