Skip to content

Document matplotlib dependency/ install matplotlib in CI #13335

@qinhanmin2014

Description

@qinhanmin2014

We've introduced matplotlib dependency in some functions, e.g., plot_tree
(1) We need to document the min version we require (the minimal version of matplotlib for Ubuntu 16.04 is 1.5.1). Maybe also document the classes/functions which depend on matplotlib
(2) We need to install matplotlib in CIs
(3) Maybe we can remove some redundant code, e.g.,

else:
# matplotlib <1.5 requires explicit boxstyle
self.bbox_args['boxstyle'] = "square"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions