Skip to content

0.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Nov 21:06

0.6.0 — Plots in Python blocks

New

  • matplotlib figures show in the output pane. Python blocks now show plots as images, between the lines of text output. This also covers libraries that draw with matplotlib, such as pandas df.plot().

    import matplotlib.pyplot as plt
    
    plt.plot([1, 2, 3, 4], [1, 4, 9, 16])
    plt.title("Squares")
    plt.show()