Simplify install instructions and add plotting example#267
Merged
Marenz merged 3 commits intofrequenz-floss:v0.x.xfrom Feb 17, 2026
Merged
Simplify install instructions and add plotting example#267Marenz merged 3 commits intofrequenz-floss:v0.x.xfrom
Marenz merged 3 commits intofrequenz-floss:v0.x.xfrom
Conversation
Remove hardcoded version from pip install command and add a matplotlib plotting example at the end of the README. Signed-off-by: Mathias L. Baumann <mathias.baumann@frequenz.com>
Signed-off-by: Mathias L. Baumann <mathias.baumann@frequenz.com>
cwasicki
previously approved these changes
Feb 16, 2026
Contributor
cwasicki
left a comment
There was a problem hiding this comment.
Some optional comments.
README.md
Outdated
| import matplotlib.dates as mdates | ||
|
|
||
| # Fetch data (see examples above) | ||
| data = [ |
Contributor
There was a problem hiding this comment.
I wouldn't repeat this here but only refer to above.
| ``` | ||
| In addition to the default CSV format, individual samples can also be output using the `--format iter` option. | ||
|
|
||
| ## Plotting data with matplotlib |
Contributor
There was a problem hiding this comment.
Maybe append it directly to the other python sections, i.e. before the CLI tool section.
| values = [s.value for s in data] | ||
|
|
||
| fig, ax = plt.subplots(figsize=(14, 5)) | ||
| ax.plot(timestamps, values) |
Contributor
There was a problem hiding this comment.
I would add a comment here that all of the following customization instructions are optional.
…ional comment Signed-off-by: Mathias L. Baumann <mathias.baumann@frequenz.com>
cwasicki
approved these changes
Feb 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove the hardcoded version from the pip install command — users should just install the latest by default.
Add a matplotlib plotting example at the end of the README showing how to visualize fetched data.