Skip to content

make drawing trend lines simpler #42

@dattran2346

Description

@dattran2346

Is there anyway that I can get the matplotlib axes/figure object and add my custom plotting on top.

I currently want to draw trendlines like this

ac = ([dateA, dateC], [priceA, priceC])
l = mlines.Line2D(*ac)
ax.add_line(l)

The result look like
Screen Shot 2020-03-03 at 23 47 12

Metadata

Metadata

Labels

enhancementNew feature or requestreleasedcode merged into repo AND released to Pypi

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions