plot.plots should warn about bad types (tuple/string)

Bug #399360 reported by Václav Šmilauer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yade
Fix Released
Medium
Václav Šmilauer

Bug Description

Plot specification requires tuple of y-values, but if it is just one, it should either give clear error or handle it gracefully:

yade.plot.plots={'t':('Z_pr',)} ## correct syntax
yade.plot.plots={'t':('Z_pr')} ## bad syntax, will cause error

Changed in yade:
assignee: nobody → Václav Šmilauer (eudoxos)
importance: Undecided → Medium
milestone: none → 0.20-0
Revision history for this message
Václav Šmilauer (eudoxos) wrote :
Changed in yade:
status: New → Fix Released
Revision history for this message
Václav Šmilauer (eudoxos) wrote :

The y2axis ||| thing is not hanled by the gnuplot export, that should be fixed.

Changed in yade:
status: Fix Released → In Progress
Revision history for this message
Václav Šmilauer (eudoxos) wrote :

y2axis for gnuplot fixed in r1874, see scripts/simple-scene-graph.py

Changed in yade:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.