When I have:n = 20 duration = 1000 now = time.mktime(time.localtime()) timestamps = np.linspace(now, now + duration, n) dates = [dt.datetime.fromtimestamp(ts) for ts in timestamps] values = np.sin((timestamps - now) / duration * 2 * np.pi) fig = go.Figure(data=go.Scatter(x=dates, y=values, mode='markers')) task.get_logger().report_plotly( title="plotly", series="b", iteration=0, figure=fig)
Everything looks okay
Answered
Hello!
How Can I Use "Report_Scatter2D" In Order To Report Timestamp In The X-Axis?
Hello!
How can I use "report_scatter2d" in order to report Timestamp in the x-axis?
Show more results
replies
105K Views
32
Answers
4 years ago
one year ago
Tags