patches.Scatter()
and patches.Plot()
should be added.
#29318
Labels
Community support
Users in need of help.
Uh oh!
There was an error while loading. Please reload this page.
Problem
Only using patches.Rectangle() of plt.subplots() works properly as shown below:
And only using axes.Axes.scatter() of
plt.subplots()
works properly as shown below:And only using
axes.Axes.plot()
ofplt.subplots()
works properly as shown below:But using
patches.Rectangle()
ofplt.subplots()
withaxes.Axes.scatter()
ofplt.subplots()
doesn't work properly as shown below:And using
patches.Rectangle()
ofplt.subplots()
withaxes.Axes.plot()
ofplt.subplots()
doesn't work properly as shown below:So instead, I used
patches.Rectangle()
ofplt.subplots()
with patches.Circle() ofplt.subplots()
, then they properly work as shown below:Proposed solution
So, it seems like matplotlib.patches works with
matplotlib.patches
sopatches.Scatter()
andpatches.Plot()
should be added.The text was updated successfully, but these errors were encountered: