I am trying to create a line chart with Matplotlib in Python. Is there a way to adjust the width of the line based on different values? That means for one line, its width is different for different values on x axis. The example chart I am trying to create is shown here:
Asked
Active
Viewed 215 times
1
-
Does [this](https://stackoverflow.com/questions/19390895/matplotlib-plot-with-variable-line-width) answers your question? – Zephyr Jun 07 '20 at 09:48
-
1Does this answer your question? [Matplotlib plot with variable line width](https://stackoverflow.com/questions/19390895/matplotlib-plot-with-variable-line-width) – gboffi Jun 07 '20 at 13:44
-
Thanks, Andrea and gboffi. The above link is really helpful. – Sam Jun 07 '20 at 23:18