Skip to content

problem with timestamp and scatter3d #3925

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sagregrevc opened this issue Oct 17, 2022 · 3 comments
Closed

problem with timestamp and scatter3d #3925

sagregrevc opened this issue Oct 17, 2022 · 3 comments

Comments

@sagregrevc
Copy link

sagregrevc commented Oct 17, 2022

Hello

I have problem with visualizing plots with command Scatter3d and timestamp. If select not timestamp, results good, but I need timestamp
view depended on angle:
image
image
image
if 1 curve will be supressed, than no plot at all
image
lines not fit to markers
image
my code:

import pandas as pd
import plotly.graph_objects as go


def plot_3d(Sample_name, fig):
    df = pd.read_csv(Sample_name)
    x_axis = pd.to_datetime(df["time"])
    fig.add_trace(go.Scatter3d(x=x_axis, y=df['Wavenumbers'], z=df['IntensityClean'], name=Sample_name))


Sample_name_1 = "Iso 100 - Eth 0.csv"
Sample_name_2 = "bc3ef751-d859-42e0-a938-dd86677aa6a4.csv"

fig = go.Figure()
plot_3d(Sample_name_1, fig)
plot_3d(Sample_name_2, fig)
fig.show()

used files:
bc3ef751-d859-42e0-a938-dd86677aa6a4.csv
Iso 100 - Eth 0.csv

Versions: python 3.8, plotly 5.10, pandas 1.5.0
Browser: Edge(big problem), Chrome and Firefox(middle problem),
may be connected with: #799
probably it cannot handle date, just with time it work

@AaronStiff
Copy link
Contributor

Hi @sagregrevc. Here are the results I'm getting with the latest versions of plotly.py and plotly.js, as well as the Brave browser (Chromium).

Scatter3DTimestamp.webm

I'm not seeing the same visual errors as you showed in your screenshots. Does this seem to be correct now?

@sagregrevc
Copy link
Author

I have still same problem. plotly 5.14.1
image
image

@gvwilson
Copy link
Contributor

Hi - we are tidying up stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for a while, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. If you'd like to submit a PR, we'd be happy to prioritize a review, and if it's a request for tech support, please post in our community forum. Thank you - @gvwilson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants