Category "plotly-python"

How to display existing annotations in dcc.Graph

I'm working on a tool that loads some of my precomputed annotations in the form of bboxes = [ ((x0, y0), (x1, y1)), # annot 1 ... # more

How to create bar graph with table attached to it using plotly dash?

I want to create bar graph for different communication interfaces and for different build versions . Somewhat similar to this : In my case ,the table header wi

(python plotly 5.7.0) It doesn't display graph when ther's NO INTERNET, it still required internet to show graphs

I'm using python 3.6.8 and plotly 5.7.0 [user1@testsrv1 ~]$ python3 --version Python 3.6.8 [user1@testsrv1 ~]$ pip3 freeze | grep -i plotly plotly==5.7.0 [user1

Plotly adding two sliders in python

I have read plotly slider instruction:https://plotly.com/python/sliders/, but still can't find a way to create two sliders in one graph. I'm new to plotly so an

Interactive filtering data table in Plotly by using a dropdown

I am trying to make an interactive table where the values of the table change by selecting a value from a dropdown. This should be done only in Plotly (not Dash

when exporting Jupyter notebook to html file - can not see interactive plots with widgets

I have a script that creates an interactive PCA plot with a widget so the PCA. Meaning a script that I can change the x-axis and the y-axis with a dropdown menu

Is there a way to extract data (maybe in csv/excel formal) from a Plotly html figure?

I have a Plotly heatmap graph only in html format. But I need the data used for it for my analysis. Is there a python function which I can use or any server whe

Change color of y axis label in plotly

I draw a figure in plotly (python). To change the label color of y axis in the plot I used the code fig.update_yaxes(color='white') and fig.update_layout(font_c

Dash DatePickerRange with Graph

I am trying to connect a graph to a DatePickerRange. However, i keep running into a problem, when trying to connect the graph and date picker. I have the follow

Datepicker range Plotly-Dash - Make user unable to include disabled dates in the date range

I am using the datepickerrange component in plotly dash, and i am trying to make it so that whenever a starting date is selected, it will not be possible to inc

How can I strech an axis of a plotly plot?

See the image in the link for reference: 1 Even though the figure is pretty wide, the plot itself is way to small. Adjusting the figure size however doesn't imp

Use Python plotly chart in PHP

I have created a pie graph with Python plotly library fig = go.Figure(data=[go.Pie(labels=data["x"], values=data['value'])]) fig = dcc.Graph(id='pie_graph', fi

Is there any way to display Plotly Express Graph in React App

Plotly Express provides very easy functions to draw customizable scatter plots, since I did not get any help regarding this question from over a week -> ques

python-plotly-multiple y-axis: How to turn off grid on both subplots?

I am new to python and am enjoying the debugging help that stack overflow community provides. In the following code I am able to remove y-axis grid for top subp

Plotly plot histogram and line chart on same figure

Hello I am trying to plot a histogram and a line chart on the same figure to create a MACD chart. However the histogram data needs to be scaled down so it doesn

Keep plotly updatemenu button active when changing plot range dynamically in Dash

I need some advice concerning the updatemenu buttons in plotly. I am dynamically changing the plot range of a graph and I trigger different traces with the upda

Is there a way to prevent the legend on plotly from moving up into the chart when its orientation is horizontal?

Context I am currently in the middle of creating a data visualisation web app. I am using Plotly to create a timeseries. I am having trouble with the legend. I

How to switch direction of axis in 3D scatterplot plotly?

I plotted the following using plotly and got the resulting plot shown before. X is the # of hours in a day, Y is a proportion between 0-1, and Z is a categorica

Error message when attempting launch plotly dash

I checked the errors and looked up everything I could try to fix the issue in every way I could. This is the error I'm getting: Can someone please tell me what

Plotly update customdata with dropdown button

I have a quick question: basically I have created a plot with some hover information and I have a dropdown button, where the user can chose from which dataframe