Skip to main content

All Questions

Tagged with
1 vote
0 answers
36 views

Is it possible to compare multiple line graphs to give a sort of ' similarity rating'

So I am trying to measure data from a smartphone ambient light sensor (ALS). My goal is to be able to be able to look at the data and be able to infer the location of the device. To do this my plan is ...
nosilak0's user avatar
1 vote
1 answer
155 views

Removing data from a line graph interactively in Jupiter notebook

I have a NumPy array which contains data from several samples. Some of the samples are outliers and need to be removed via visual inspection. Is there a way to make an interactive line plot in a ...
Liam's user avatar
  • 29
0 votes
2 answers
277 views

How to plot a line graph filtering by two columns?

this is my first time asking a question here so I'll try my best. CONTEXT/DATA: I've a data set (example of it below) with daily data of different stores as well as their sales, forecast, region and ...
gosvn's user avatar
  • 1
0 votes
1 answer
328 views

How start the line graph after some space from intersection in recharts

In the given image I want to implement the line graph in such a way that the line graph starting point (Jan) should start after some space (custom space). This is the current implementation: <...
nadeemkhan02's user avatar
1 vote
2 answers
1k views

Plotly python : how to make a dropdown menu with several lines?

I would like to make a dropdown menu in a plotly line graph such as the one in this post but with several lines. Let's take a sample dataframe : import pandas as pd df = pd.DataFrame({"Date":...
Ewdlam's user avatar
  • 905
1 vote
1 answer
9k views

How to add data labels to plotly line graph?

I've got a simple plotly line graph: import plotly.express as px fig = px.line(data, x="x-axis", y="variable") fig.show() I want to add data labels displaying each y-axis value to ...
goose's user avatar
  • 2,592
6 votes
1 answer
4k views

How to hide legend selectively in a plotly line plot?

I'm struggling to hide the legend for some but not all of the lines in my line plot. Here is what the plot looks like now. Plot: Essentially I want to hide the legend for the light grey lines while ...
Ravi's user avatar
  • 79
1 vote
0 answers
191 views

Using a drop down menu for multiple Cryptocurrency line charts

I am pretty new to Python and working on a fun little project to chart numerous different cryptocurrencies based on their closing price for the day. I would like to have a drop down menu that allows ...
Rubberleg's user avatar
1 vote
1 answer
1k views

Data visualization of CSV file with dash

I am new to Python. https://realpython.com/python-dash provides code for visualizing a line graph from a CSV file using Python's dash. I ran the code below, but receive an error. import ...
cielo_azzuro's user avatar
0 votes
2 answers
705 views

Adjust x ticks for a hour column of a dataframe in plotly

Plotted using Autoplotter in jupyter where hours are in countsplot of Timestamp Vs Temp I have a csv file, that contains a column called hours. While plotting that in x axis for line graph in plotly , ...
chat_dev's user avatar
3 votes
0 answers
200 views

Ploty continuous color scale in line chart

Is it possible to set the line of a line chart as a continuous scale like Viridis? I did several attempts but my best result was a discrete scale based on a third variable. How can I initialize for ...
Shidra's user avatar
  • 31
0 votes
1 answer
3k views

Improve Plotly Line Graph by adding 'dots' or some sort of marker to it (Python) [duplicate]

I have a dataframe, df, in which I created a line graph. I wish to stye it with dots within the line graph. Sample dataset: Size Date POD 0.027289 11/1/2020 SJ 0.013563 ...
Lynn's user avatar
  • 4,388
2 votes
0 answers
249 views

How to run the python plotly script from the HTML script to get the line graph?

I have written a python script using plotly library that generates the line graphs from the csv files. I want to run the same python script on the web page/ web app using the HTML script> I dont ...
Darshan S R 's user avatar
5 votes
1 answer
9k views

Plotly: How to output multiple line charts in single figure?

I am trying to plot line chart using plotly for multiple dataframes in a single graph. My code is: import plotly.express as px labels=category_names[:10] for category in category_names[:10]: df_b=...
Mansi Shukla's user avatar
0 votes
1 answer
124 views

Unable to properly execute a plotly line graph with two lines

I am attempting to plot 2 lines on a plotly line graph. When simply plotting one of the lines it works; however, when I use "add_trace" for another line, it just hows both lines running alone the x-...
codeblue's user avatar

15 30 50 per page