If multiple DataRep exists, each with its own functions, then this function will probably not return the right one. Use datareps.py to demonstrate this. The only use of this function is Inspector itself, thus should be possible to remove this function altogether.
@@ Labels of Z values, and perhaps others if range is under two orders of magnitude and values are very small. Try sip/z_label.py to see it. Might convert this script to one that can be put in testsuite
@@@ On axis tabbed panel, changing the high range via text box doesn't set the right bin width. So the range appears set in the box, but it is wrong. Use ConstantModelFit.py, autoscale, then set range.
In Data tabbed panel, the title doesn't get set if there are multiple data reps on plot. Probably should take title of first one. What if the data reps comes from two different data sources, then what title is used?
@@ A particular DataRep can only accept a subset of all RepBase objects. Thus, this class should return the names of that subset which is already available to the Inspector and this argument should be replaced by a string.
Updating the Inspector from this method is disabled. However, not updating allow changes from Python to not be seen from the Inspector. Enabling it makes too many updates to the inspector when changes are made from the GUI. This problem needs to be resolved.