Center show a figure

how can I let the figure created by matplotlib aligned-center

Is using ipywidgets an option? That would allow you to display the matplotlib figure inside an Output and then customize the layout of the Output inside the container. See

1 Like