Skip to content

[ENH]: add organizational charts to supported plots #25222

Closed

Description

@rbt94

Problem

I would like to efficiently use matplotlib to produce also organizational charts like the Ishikawa (fishbone) diagram to include also the cause-effect relationships into professional and academical documents. For the Ishikawa case, it could be interesting to modify the treeplot by using a fractal layout for the spines.

Thank you for your consideration.

Proposed solution

No response

Activity

  1. jklymak commented on Feb 15, 2023

    @jklymak
    Member

    Thanks for your interest in improving Matplotlib!

    That type of chart is super-specialized and I would expect better suited to an external library. We don't provide a tree plot, either, though https://github.com/erdogant/treeplot does. If the external library proved popular, and/or there was a compelling reason it needed to be in core, it would certainly be possible to consider.

  2. story645 commented on Feb 15, 2023

    @story645
    Member

    This could also maybe be a gallery entry at https://networkx.org/documentation/stable/auto_examples/index.html but you'd have to ask the networkx folk

  3. jklymak commented on Feb 15, 2023

    @jklymak
    Member

    Think about this more, it is definitely something that should be developed elsewhere. The API for this will be extremely broad, so best to refine it first. Please feel free to approach us again if there is a package that should be subsumed, or if it is not possible to make what you want without changing Matplotlib internals.

  4. rbt94 commented on Feb 15, 2023

    @rbt94
    Author

    Thank you @jklymak for the support. I will try to ask the same to some dedicated projects or I will implement it for specific cases little by little.
    Regards,
    Robert

  5. rbt94 commented on Feb 16, 2023

    @rbt94
    Author

    PS: For one that will read the post in the future, I have implemented only the Ishikawa plot from scratch by using only matplotlib and numpy.
    You can find the code here: fishbone diagram using Python or graphviz

  6. jklymak commented on Feb 16, 2023

    @jklymak
    Member

    Great! Your s/o post seems modest sized so consider adding to our examples?

  7. added a commit that references this issue on Feb 18, 2023
  8. added a commit that references this issue on Mar 4, 2023
  9. added this to the v3.8.0 milestone on Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions