Mojo 🔥: Programming language for all of AI

PHOTO EMBED

Sat Oct 21 2023 03:19:36 GMT+0000 (Coordinated Universal Time)

Saved by @kuppurao

def make_plot(m: Matrix):
  plt = Python.import_module("matplotlib.pyplot")
  fig = plt.figure(1, [10, 10 * yn // xn], 64)
  ax = fig.add_axes([0.0, 0.0, 1.0, 1.0], False, 1)
  plt.imshow(image)
  plt.show()

make_plot(compute_mandelbrot())
content_copyCOPY

https://www.modular.com/mojo