Appearance
Overview
PyConsole supports visualization with plotly
Usage
Steps
- import plotly
python
import plotly.graph_objects as go
- make a plot
python
fig = go.Figure()
fig.add_trace(go.Scatter(y=[2, 1, 4, 3]))
fig.add_trace(go.Bar(y=[1, 4, 3, 2]))
fig.update_layout(title = 'Hello Figure')
- show the plot with
fig.show
python
fig.show()