Installing igraph tutorial from website: AttributeError: 'AxesSubplot' object has no attribute 'arc'

I have python 3.8.13, igraph 0.10.1, with matplotlib 3.6.0, and when
running the sample scripts from the install page on the website, I am
receiving an error. The scripts can be found here:
https://igraph.org/python/tutorial/latest/install.html

I am referring to the following

import matplotlib.pyplot as plt
import igraph as ig
fig, ax = plt.subplots()
g = ig.Graph.Famous("petersen")
ig.plot(g, target=ax)
plt.show()

I receive the following errors at the ig.plot(g, target=ax) line:

attachment.html (4.03 KB)

Hi,

I can't believe I have to explain this, but this is the mailing list for
graph-tool, not for igraph.

Please refer to the igraph mailing list for help.

Best,
Tiago

My sincerest apologies

attachment.html (6.24 KB)