Skip to content

Document matplotlib dependency/ install matplotlib in CI #13335

Closed

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"

Activity

  1. added this to the 0.21 milestone on Mar 1, 2019
  2. added
    Easy
    good first issue
    on Mar 13, 2019
  3. maftabali commented on Mar 17, 2019

    @maftabali
    Contributor

    @qinhanmin2014 do you want just the modules/tree.rst updated to include this dependency or is there other documents that need this added as well?

  4. jnothman commented on Mar 18, 2019

    @jnothman
    Member
  5. qinhanmin2014 commented on Mar 18, 2019

    @qinhanmin2014
    MemberAuthor

    I can't see anywhere where we obviously state the requirements for running
    examples, which should also include versions. I vote for including it in
    doc/install.rst

    @jnothman readme?
    For running the examples Matplotlib >= 1.5.1 is required. A few examples require scikit-image >= 0.12.3, a few examples require pandas >= 0.18.0 and a few example require joblib >= 0.11.

  6. jnothman commented on Mar 18, 2019

    @jnothman
    Member
  7. qinhanmin2014 commented on Mar 19, 2019

    @qinhanmin2014
    MemberAuthor

    I only suggest install.rst because other dependency versions are listed there

    I mean we obviously state the requirements for running examples in README.rst and I think that's enough. If you want to copy it to install.rst, let's do it.

  8. jnothman commented on Mar 19, 2019

    @jnothman
    Member
  9. maftabali commented on Mar 19, 2019

    @maftabali
    Contributor

    Ok. Will do it later tonight.

  10. jnothman commented on Apr 24, 2019

    @jnothman
    Member

    @maftabali can we pass this onto someone else?

  11. maftabali commented on Apr 24, 2019

    @maftabali
    Contributor

    @jnothman sorry, been snowed under. Do you want this just in the readme or in the install.rst as well?

  12. jnothman commented on Apr 24, 2019

    @jnothman
    Member

    README is fine. You're welcome to say someone else should take it.

  13. maftabali commented on Apr 24, 2019

    @maftabali
    Contributor

    @jnothman If it needs doing straight away, please feel free to pass it someone else as it will take me a while to get to it.

  14. rth commented on Apr 24, 2019

    @rth
    Member

    (2) We need to install matplotlib in CIs

    Not all CIs though -- as it's still an optional dependency, and we want to check that tests can run without it.

  15. NicolasHug commented on Apr 24, 2019

    @NicolasHug
    Member

    FYI, we added matplotlib checks for the pylatest_conda CI env in #12599

  16. removed this from the 0.21 milestone on Apr 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Build / CIDocumentationEasygood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions