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
  • 48,888
  • 12
  • 60
  • 101
SEU
  • 1,304
  • 4
  • 15
  • 36

1 Answers1

1

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

Scott Hunter
  • 48,888
  • 12
  • 60
  • 101