1

A question for discussion:

The matplotlib documentation says that the method plt.fill_between is used to "fill the area between two horizontal curves".

What exactly is meant by "horizontal"? Intuitively, I would say "two parallel curves". Like in this example

enter image description here

The curves are not horizontal, but parallel.

William Miller
  • 9,839
  • 3
  • 25
  • 46
aurumpurum
  • 932
  • 3
  • 11
  • 27

1 Answers1

2

"Two horizontal curves" is a set of data where you have two arrays y1 and y2 defined on a single support x.
Equally, "two vertical curves" would be a set of data where you have a single y support for two x arrays.

enter image description here

ImportanceOfBeingErnest
  • 321,279
  • 53
  • 665
  • 712
  • Thank you @ImportanceOfBeingErnest: That makes it clear, what "horizontal curves" means in terms of matplotlib! – aurumpurum Jan 20 '20 at 08:32