{"library":"sphinx-plotly-directive","title":"sphinx-plotly-directive","type":"library","description":"A Sphinx directive for embedding Plotly figures in documentation. Current version 0.1.3, release cadence is low (last release Aug 2020).","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install sphinx-plotly-directive"],"cli":null},"imports":["No explicit import; activate via extensions = ['sphinx_plotly_directive'] in conf.py"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"https://github.com/harupy/sphinx-plotly-directive","docs":null,"changelog":null,"pypi":"https://pypi.org/project/sphinx-plotly-directive/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"# conf.py\nextensions = [\n    'sphinx_plotly_directive',\n]\n\n# index.rst\n.. plotly::\n\n    import plotly.graph_objects as go\n    fig = go.Figure(data=go.Scatter(x=[1,2,3], y=[1,3,2]))\n    fig","lang":"python","description":"Add the extension to conf.py, then use the .. plotly:: directive in RST.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}