[plot] lineplot API same as matplotlib.pyplot.plot
All threads resolved!
All threads resolved!
Changing the new plot.line API to be similar to the API of matplotlib.pyplot.plot e.g.
line(mesh) # z=const: y over x, y=const: z over x, x=const: z over y
line(mesh, ot.variables.temperature) # temperature over x, y or z
line(mesh, "y", "temperature") # temperature over y
line(mesh, ot.variables.pressure, "y") # y over pressure
line(mesh, "pressure", "temperature") # temperature over pressure
-
Tests covering your feature were added?
Edited by Florian Zill
Merge request reports
Activity
Filter activity
added API label
requested review from @TobiasMeisel
assigned to @FZill
added workflowplease review label
- Resolved by Florian Zill
- Resolved by Florian Zill
- Resolved by Tobias Meisel
added 14 commits
-
058d4fe1...1ccdf3c2 - 13 commits from branch
ogs/tools:main
- f2dbec1b - [plot] lineplot API same as matplotlib.pyplot.plot
-
058d4fe1...1ccdf3c2 - 13 commits from branch
mentioned in commit 573a9e0c
Please register or sign in to reply