Closed mithi closed 4 years ago
[x] Remove type parameter for def make_translate_slider It is not used and it doesn't make any sense. https://github.com/mithi/hexapod-robot-simulator/blob/5c1f8a187e7497a37e9b2b5d66ec2fe72b3cc61f/widgets/ik_ui.py#L34
type
def make_translate_slider
[x] Use None instead of {} as default parameter as per convention https://github.com/mithi/hexapod-robot-simulator/blob/5c1f8a187e7497a37e9b2b5d66ec2fe72b3cc61f/widgets/pose_control/kinematics_section_maker.py#L28
[x] It seems like we don't actually need to store n_axis as an attribute https://github.com/mithi/hexapod-robot-simulator/blob/5c1f8a187e7497a37e9b2b5d66ec2fe72b3cc61f/hexapod/models.py#L108
[x] Remove
type
parameter fordef make_translate_slider
It is not used and it doesn't make any sense. https://github.com/mithi/hexapod-robot-simulator/blob/5c1f8a187e7497a37e9b2b5d66ec2fe72b3cc61f/widgets/ik_ui.py#L34[x] Use None instead of {} as default parameter as per convention https://github.com/mithi/hexapod-robot-simulator/blob/5c1f8a187e7497a37e9b2b5d66ec2fe72b3cc61f/widgets/pose_control/kinematics_section_maker.py#L28
[x] It seems like we don't actually need to store n_axis as an attribute https://github.com/mithi/hexapod-robot-simulator/blob/5c1f8a187e7497a37e9b2b5d66ec2fe72b3cc61f/hexapod/models.py#L108