Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 276 Bytes

File metadata and controls

18 lines (11 loc) · 276 Bytes

show

.. plotly::

   import plotly.express as px

   fig = px.scatter(x=[0, 1, 2, 3, 4], y=[0, 1, 4, 9, 16])
   fig.show()


.. plotly::
   :fig-vars: figure

   import plotly.express as px

   figure = px.scatter(x=[0, 1, 2, 3, 4], y=[0, 1, 4, 9, 16])
   figure.show()