Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from plotly import graph_objects as go
- fig = go.Figure()
- fig.add_trace(go.Funnel(
- name = 'A1',
- y = ["StartReadingOffer", "StartCheckProduct", "OpenPaymentScreen", "OpenProductCard"],
- x = [2223, 1330, 1117, 1077],
- textinfo = "value+percent initial"))
- fig.add_trace(go.Funnel(
- name = 'A2',
- orientation = "h",
- y = ["StartReadingOffer", "StartCheckProduct", "OpenPaymentScreen", "OpenProductCard"],
- x = [2185, 1343, 1142, 1096],
- textposition = "inside",
- textinfo = "value+percent initial"))
- fig.add_trace(go.Funnel(
- name = 'B',
- orientation = "h",
- y = ["StartReadingOffer", "StartCheckProduct", "OpenPaymentScreen", "OpenProductCard"],
- x = [2248, 1324, 1106, 1088],
- #textposition = "outside",
- textinfo = "value+percent initial"))
- fig.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement