Skip to content

Conversation

@ayenpure
Copy link
Collaborator

No description provided.

@ayenpure ayenpure requested a review from jourdain July 18, 2025 22:52
],
type="number",
)
ScalingControls().create()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird call

click=(update_rendering, "[true]"),
)

UpdateButton(update_rendering).create()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird call

)
# Axis slicing controls
axis_controls = AxisSlicingControls()
for _component in axis_controls.create():
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure you need the for loop. Also I don't get the .create() call...

type="number",
)
# Slice stepping controls
SliceSteppingControls().create()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird call

)
# Axis slicing controls
axis_controls = AxisSlicingControls()
for _component in axis_controls.create():
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird

type="number",
)
# Slice stepping controls
SliceSteppingControls().create()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird

],
type="number",
)
ScalingControls().create()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird

click=(update_rendering, "[true]"),
)

UpdateButton(update_rendering).create()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird

self.max_time_width = max_time_width
self.max_time_index_width = max_time_index_width

def create(self):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you need a create() method?

self.scale_y = scale_y
self.scale_z = scale_z

def create(self):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

self.data_arrays = data_arrays
self.dirty_data = dirty_data

def create(self):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

self.dataset_bounds = dataset_bounds
self.axis_lower = axis.lower()

def create(self):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

for i, axis in enumerate(XYZ)
]

def create(self):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

def __init__(self, axis_names="axis_names"):
self.axis_names = axis_names

def create(self):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

],
type="number",
)
ScalingControls().create()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird

click=(update_rendering, "[true]"),
)

UpdateButton(update_rendering).create()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird

@jourdain
Copy link
Collaborator

Looks good except that I don't understand the split between the constructor and the create method? Is the constructor supposed to already create the object/ui?

@ayenpure
Copy link
Collaborator Author

Closing this as these changes are redundant

@ayenpure ayenpure closed this Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants