Skip to content
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

python combined plot time axis breaks #7627

Closed
scottdraves opened this issue Jul 2, 2018 · 1 comment
Closed

python combined plot time axis breaks #7627

scottdraves opened this issue Jul 2, 2018 · 1 comment
Assignees
Milestone

Comments

@scottdraves
Copy link
Contributor

from beakerx.plot import *

times = ['20171211 09:00:00.000 -0000',
'20171211 09:30:00.000 -0000',
'20171211 10:00:00.000 -0000',
]

ys1 = [10, 20, 30]
ys2 = [20, 30, 40]

p1 = TimePlot()
p1.add(Line(x=times, y=ys1))

p2 = TimePlot()
p2.add(Line(x=times, y=ys2))

cplot = CombinedPlot()
cplot.add(p1, 1)
cplot.add(p2, 1)

and then in another cell, just run p1

@piorek
Copy link
Contributor

piorek commented Jul 19, 2018

@LeeTZ I tested it just now, and I think that this one can be closed.

@LeeTZ LeeTZ closed this as completed Jul 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants