-
Notifications
You must be signed in to change notification settings - Fork 132
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
Add information to namedtuple tutorial #1095
base: feature/data_analysis_tutorial
Are you sure you want to change the base?
Add information to namedtuple tutorial #1095
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for opening this pull request. However, I think, it requires some adaptions:
- Most importantly, we should have a cleaned version without any execution output.
- Besides, I think some changes are not necessary, such as spreading markdown explanations across multiple cells.
@@ -12,7 +12,7 @@ | |||
"cell_type": "markdown", | |||
"metadata": {}, | |||
"source": [ | |||
"We want to model a group of buildings, each with demands for electricity and space heating.\n", | |||
"We want to model a group of buildings, each with demands for electricity and space heating. \n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my view, the space is not needed as there is the line break.
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see the necessity to add another markdown cell. Instead, I'd suggest to add the text to the above cell.
"execution_count": null, | ||
"execution_count": 2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should host a cleaned up version, not showing any execution results.
"source": [ | ||
"import networkx as nx\n", | ||
"from oemof.network.graph import create_nx_graph\n", | ||
"\n", | ||
"graph = create_nx_graph(energy_system)\n", | ||
"\n", | ||
"nx.draw(graph, with_labels=True, font_size=8)" | ||
"nx.draw(graph, with_labels=True, font_size=7)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reasoning to alter the font_size
attribute?
Changes made in feature/data_analysis_tutorial