Skip to content
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

Set a default height for the graph, expose width and height to the user #129

Open
martin-schlipf opened this issue Jan 16, 2024 · 0 comments
Assignees
Milestone

Comments

@martin-schlipf
Copy link
Collaborator

The height of the Graph in Jupyter notebook is rather small so that the plots do not look pleasing on typical desktop computers. We should set a higher default height (around 500px) to make them look better.
We can also make width and height attributes of the Graph object, so that users can set them to their liking.

Think about exposing all Graph attributes via kwargs to the user, e.g., you could allow

calc.dos.plot(xlabel="...")

and this would have the same effect as

graph = calc.dos.plot()
graph.xlabel = "..."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant