0

I am using python/matplotlib and I am trying to hold the figure and plt.hold(True) seems to be deprecated.

The below command gives me "AttributeError: Unknown property hold"

ax.plot(x, y, z, hold=True, c='r', marker='.')

What's the alternative, or what am I doing wrong.

Scott Hunter
  • 46,905
  • 10
  • 55
  • 92
SEU
  • 1,142
  • 3
  • 12
  • 31

1 Answers1

1

Since hold was deprecated, plot behaves as if hold=True, so you can leave out specifying it explicitly.

Scott Hunter
  • 46,905
  • 10
  • 55
  • 92