-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Better plot interface for Python script and Jupyter notebook #14
Comments
Hi Bin, That makes perfect sense. I could move the CLI code into plot methods for the classes. Do you have a deadline you're trying to meet? I'm currently working on another part of my thesis and was planning to get back to this after I defend. I can tackle this sooner though if needed. Best, |
Hi Kip, Thanks for your helps. There is no deadline for this . Now I can do it by digging out the CLI code. But the simplified interface can help other new users like me. BTW, I'm working on meshing the generated micro-structure from your library using Gmsh. I may have more idea to improve your code once I'm finished. Thanks again for your nice library, |
Hi Bin, Thank you so much! I started looking at this a little more and realized it won't be too bad to implement right now. I'd like to hear your ideas on using gmsh. I have also started using it in my work, since Triangle and TetGen make the mesh super refined in some corners. I'll keep you posted on the plot changes, but I've started a branch (https://github.com/kip-hart/MicroStructPy/tree/dev-plot-methods). Best, |
These features have been added to the source code and I created a new minor release for them (v1.2.0). I added two keyword arguments to the plot methods, seeds.plot(material=['Matrix','Void'], color=['C0','C1'], ..., index_by='material') Please let me know if you get the chance to try it out (described in more detail in #17) and feel free to re-open if there is still an issue. |
Thanks for your nice Python code for such microstructure modeling.
Is your feature request related to a problem? Please describe.
CLI interface can plot very nice seeds, polymesh and trimesh. But I need write very long code to reproduce the figure, here is an examples
Describe the solution you'd like
The text was updated successfully, but these errors were encountered: