Category "plotly"

Plotting the frequency of occurrences per date

I'm new to pandas and plotly. And I have a large csv file with two columns, a date column and a column that contains a string of text (event). Each event is a n

Plots.jl: Change formating of logscale ticks to normal formatting

Consider the following plot using Plots pyplot() radix_range_xticks = -4:4 radix_range = LinRange(-4, 4, 100) xs = 2.0 .^ radix_range_xticks pf = 50.0 bw = 25.

What to do when pip dependency resolver wants to use conflicting django plotly dash versions of a application?

So I'm trying to integrate plotly with my django app however I'm having an issue rendering a chart. I was using VSCode which did not pick up the dependency conf

Is there a way to control which vertices connect in a plotly.express.line_geo map?

I'm trying to make a connection map that has the option to use an animation_frame to show different months/years. Plotly.express has this option, but the plotly

How to add URL hyperlink to nodes created in network graphs with plotly?

I have successfully created a 3D network graph using Plotly and igraph in python using this helpful link. I want to manipulate those nodes meaning adding a hype

R Plotly how to link text to bubbles in order to remove it when click on legend

With plotly on R, I have a bubble scatter plot and I want to add black text on each bubble. I also have my bubbles colored following a column of my data frame (

Plotly layout Z-axes config

How to set height of Z axes in graph_object.layout I tried using zaxis: { showgrid: true, zeroline: true, linecolor: '#d7d7d7', linewidth: 1,

Does Plotly similar function like matplotlib fill_between

I am converting some matplotlib code to Plotly. Does Plotly have something similar to matplotlib fill_between Code to convert # ax.fill_between(fcst_t, fc

How to get Slider in Plotly to show each value of r instead of the steps?

fig = go.Figure() for r in np.arange(0.05, 0.56, 0.005): #want the steps to show each value in r xth_r,yth_r,zth_r = coords_theta(r) fig.add_trace(

how to rotate the multicategory axis in plotly?

import plotly.graph_objects as go fig = go.Figure() fig.add_trace(go.Bar( x = [['First', 'First', 'Second', 'Second'], ["A", "B", "A", "B"]], y =

Multiple Subplots & Multiple Colors in Plotly Express

I am having trouble creating subplots in plotly given a pandas data frame with multiple colors. Here is an incomplete example creating the individual plots: imp

Plotly (R): Make a surface plane in a plotly 3d scatter plot

I have made a 3d scatter plot using plotly and on that plot I would also like to have a 3d surface plane at manual positions and geometries. I don't want to mak

How to plot two plotly figures with common animation_frame

I am trying to plot both a scatterplot and a line plot, in the same figure. One is for objects and the other for lane markers. The outcome should be one figure

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

How to I make a image from numpy array in python?

I want to map each numpy array to a color to create an image. For example: if I have the numpy array: [ [0 0 1 3] [0 2 4 5] [1 2 3 6] ] I want to make an ima

Plotly Table does not show in Jupyter Lab in Python?

I try to plot table in Plotly in Python in Jupyter Lab. But my table in plotly does not show in Jupyter Lab, my code is as below: df = pd.read_csv('df.csv') fi

Add specific hovering behaviour to R plotly graphic

I am having troubles defining a specific behaviour when hovering an R Plotly graphic. Here is what I would like to do : I would like the full arrow to be respon

Python: Dash, Plotly, and Jupyter Notebook: Use a WSGI server instead

First Stack Overflow question; please critique the request format if needed. I am working on some plotly image processing for my work. I have been using matplot

Python Jupyter Notebook: Embed an interactive plot in the _repr_html_() method of a class

I am trying to embed an interactive graph in the _repr_html_() method of a class C. What I have tried so far does not seem to be working in my Jupyter Notebook.

Python Plotly Subplots with an x shared axis and multiple y axis

I would like to know if it is possible to create subplots with Plotly with an x shared axis and multiple y axis. This what I want to do: where '##' means the pl