Category "plotly-dash"

Python Plotly How to remove datetime gaps in candle stick chart?

I am trying to remove the datetime gaps in my candlestick (the gaps are the time periods when the stock market is closed, hence there are not data). Can't seem

Schema Length Validation Error on Python Dash DataTable

I am building a dashboard using python dash and have a requirement of datatable with multiple dropdowns. The dataframe is created one with groupby (multiple col

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

Embedding an base64 encoded image into Dash Data Table

I am hoping to embed an image as a data:URI into a Dash Datatable as in the example below. I borrowed the embedding from this post. I am creating the images o

Handling dash callback of an input inside the multi Tab app

I am trying to build a multi tab dash application based on the reference code from https://dash-bootstrap-components.opensource.faculty.ai/examples/graphs-in-ta

Running plotly dash selenium tests in gitlab CI

So I'm attempting to implement selenium tests within a GitLab ci pipeline. Currently, I've run these tests on my local system mirroring the testing method that

Dash | TypeError: render_default_labels() takes 9 positional arguments but 10 were given

Goal: Find function call and amend parameters passed. Traceback: Traceback (most recent call last): File "/home/me/miniconda3/envs/project/lib/python3.9/site-

How to embed and display Google Sheets on Dash app excluding the menu and toolbar?

My goal is to show only the first tab of the sheet and to hide the editing toolbar. I found a few sources that were achieving this goal by adding &rm=mi

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

Retrieve click data from Python Holoviews / Datashader

I'm coming from Python-Dash trying to achieve an interactive graphing functionality by creating a second graph using the click data of the first one. Similar to

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

Docker image not running on host 8050

I am trying to teach myself how to deploy a dash application on AWS. I have created a folder 'DashboardImage' on my mac that contains a Dockerfile, README.md, r

Python plotly Scattermapbox define colors by category

I want to draw some colored areas on a map. The coordinates are defined in a dataframe and I want each area to have a different color depending on the test_type

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

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

Creating tooltip using callback for dash DataTable

I am trying to create tooltip for a dash data_table using callback. But my multiple attempts are unsuccessful. I have seen examples where tooltip is create by r

Plotly Dash - TypeError: Object of type Polygon is not JSON serializable

I am attempting to plot choropleth map using dash and mapbox. At runtime, I am getting an error "TypeError: Object of type Polygon is not JSON serializable". sa

Plotly: How to define colors in a figure using Plotly Graph Objects and Plotly Express?

There are many questions and answers that touch upon this topic one way or another. With this contribution I'd like to clearly show why an easy approch such as

How to write math symbols in plotly dash app?

I want to plot math symbols in a plotly dash app. For example, I've Tried this: import dash import dash_html_components as html app = dash.Dash(__name__) app.