simphony / simphony-mayavi

The mayavi adapters to the simphony framework
BSD 2-Clause "Simplified" License
0 stars 1 forks source link

Overload CUDSSource init for user-friendliness #164

Closed kitchoi closed 8 years ago

kitchoi commented 8 years ago

So that the user doesn't have to learn much Traits in order to use CUDSSource etc.

If this is good then #162 can be implemented differently:

def show(cuds, **kwargs):
...
source = CUDSSource(cuds=cuds, **kwargs)
...
stefanoborini commented 8 years ago

:+1: for me, but I am not merging so you can add more CUBA data. Feel free to merge when done.

kitchoi commented 8 years ago

@stefanoborini After asking around, using super to get the __init__ is actually better. Yeah :) I also added CUBA data for better tests.