Does anyone have code for building this graph:
https://plot.ly/create/?fid=snapcrack:12#/
Many thanks
Does anyone have code for building this graph:
https://plot.ly/create/?fid=snapcrack:12#/
Many thanks
Hi @sirorezka,
This isnβt the exact code, but hereβs a simple example of the basic idea
import plotly.graph_objs as go
from plotly.offline import init_notebook_mode, iplot
init_notebook_mode()
fig = go.Figure()
fig.add_scatter(
x=[1, 1, 1],
y=[1, 2, 3],
text=['One', 'Two', 'Three'],
mode='text',
textfont={
'color': 'blue',
'size': [8, 12, 16],
}
)
fig.add_scatter(
x=[2, 2, 2],
y=[1, 2, 3],
text=['Four', 'Five', 'Six'],
mode='text',
textfont={
'color': 'green',
'size': [8, 12, 16],
}
)
iplot(fig)
Hope that helps!
-Jon