Skip to content

Changing the colormap for cameragui #95

Locked Answered by Neverhorst
mario-b-amaro asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mario-b-amaro ,

The plotting code you can find in any logic module is just responsible for creating a thumbnail image using matplotlib that is saved to file alongside the measurement data. matplotlib has a nice interface to set the colorscale via keyword (inferno, rainbow etc.). But the plotting widgets of the GUI modules do not use matplotlib but Qt for Python (PySide2).
Currently there is no concise interface to change the colorscale of a GUI plotwidget (from qudi.util.widgets.plotting) via a simple function call. It would be nice to have this functionality, so feel free to file a feature request in qudi-core.

If you really need to change the colorscale now, you can do it the ugly w…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mario-b-amaro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants