Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hide axis when creating viewer 2D #408

Merged
merged 2 commits into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## v24.0.0

New functionality:
- Add method to edit axes label text & tests, hide one label on 2D viewer #389
- Add method to edit axes label text & tests, hide one label on 2D viewer #389 #408
- Add slider widget #365 and option to not install it #386

Bugfixes:
Expand Down
2 changes: 2 additions & 0 deletions Wrappers/Python/ccpi/viewer/QCILViewerWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ def __init__(self,
iren=self.iren,
debug=debug,
enableSliderWidget=enableSliderWidget)
al = self.viewer.axisLabelsText
self.viewer.setAxisLabels([al[0], al[1], ''], False)
elif viewer is viewer3D:
self.viewer = viewer(dimx=dimx,
dimy=dimy,
Expand Down
Loading