biggles icon indicating copy to clipboard operation
biggles copied to clipboard

make sure component attributes can be set on construction

Open esheldon opened this issue 8 years ago • 4 comments
trafficstars

An example is label which can't be set on construction. This does not produce a visible PlotKey because label is not set

key=PlotKey(0.1, 0.9, halign='left')
plt=FramedPlot(key=key)
plt.add(Points([3,4], [5,6], label='stuff'))

esheldon avatar Mar 29 '17 12:03 esheldon

This will be easier if we address #82.

beckermr avatar Mar 29 '17 13:03 beckermr

Also #19

beckermr avatar Mar 29 '17 13:03 beckermr

looks like only style is being set from the keywords on construction

So we need to special case label (and maybe others) which is not a style

esheldon avatar Mar 29 '17 15:03 esheldon

The above PR put the framework in place for this, but so far I only found label for attributes to be set.

esheldon avatar Mar 29 '17 19:03 esheldon