-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UML Diagrams #178
Comments
From a developer's perspective, these diagrams look very useful! So +1 to add them in the docs in such a way that is not immediately visible to the average user (might look scary) :) |
I use this in CausalPy and have these saved and displayed. Do you propose to save and display the images similarly, or just to document that it is possible to create these images? Either way, I propose that this should happen in the new I don't have a strong opinion about which of the options we go with :) |
I think it would be a good addition to #203. The lifetimes documentation has something similar. |
Did you want to take that on, or do you mind if I give it a go? |
@drbenvincent I'm busy with a few other PRs right now, so feel free to work on this one. |
Note to self: Do this after #207 is merged. |
I created some UML diagrams while working on #177, which are shown below. Is it worth adding these to the new-release CI so they are auto-generated each time? Furthermore, are they worth adding to the documentation despite being rather developer-specific?
MMM
CLV
MMM Tests
CLV Tests
Note these diagrams only illustrate internal class methods/attributes and inheritance, and will not display imported function calls like
clv.utils.to_xarray()
andclv.utils.customer_lifetime_value()
.To recreate these diagrams, install
graphviz
andpylint
and run this CLI command:This will also create an additional packages.png file which should be deleted.
The text was updated successfully, but these errors were encountered: