-
Notifications
You must be signed in to change notification settings - Fork 15
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
Support for generation of Jupyter Notebook #72
Conversation
- Works for tests/tcp/01-iperf.npf test, but not much more testing
This also renames all features to y_FEATURE So instead of THROUGHPUT the column will be y_THROUGHPUT That allows to find "outputs"/features easily without any metadata given to the dataset
Add decide_graph_type
- You can't use a global constant in the template to toggle Jinja if statements (settings like log scale, or savefig). - The variables used are from the dict of the rendering function.
Run with `python3 npf_run.py --test tests/tcp/04-iperf.npf --notebook results/iperf2/2.0.9/iperf-4-nb.ipynb`
Jupyter notebooks
It seems there's a problem with the checks of this branch. Does it work locally ? |
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.
Python file names must be lower case.
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.
Seems good overall, just two notes inline
|
||
|
||
def prepare_notebook_export(datasets: List[tuple], all_results_df: pd.DataFrame, path: str, config): | ||
# SIMTODO: (help) why could there be multiple datasets? |
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.
@Simcornelis because there are multiple series
@@ -0,0 +1,77 @@ | |||
from npf.types.dataset import convert_to_xyeb |
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.
graph.py, lower case
@Simcornelis please rebase and fix the errors introduced in the tests :) |
New pull request to be done. |
No description provided.