Skip to content

Functionality of the colormap plot style. #70

Answered by PinkShnack
Maxime-CS asked this question in Q&A
Discussion options

You must be logged in to vote

For the current working answer to the question, see this comment (also pasted below): #70 (reply in thread). When a new version is released, the install will be done as normal with pip.

If you're eager to try the new functionality, you can by installing the temul-toolkit at the new branch for now. Use the following command to install via pip (I unfortunately haven't checked if this works yet!

pip install temul-toolkit@git+https://github.com/PinkShnack/TEMUL.git@add_cbar_params

Then you can use the new params to set the min, max or both for the colorbar! cbar_vmin and cbar_max. For example:

cbar_vmin = 0.2
cbar_vmax = 1.0

tml.plot_polarisation_vectors(
        x, y, u, v, image=sublatticeA

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
1 reply
@PinkShnack
Comment options

Comment options

You must be logged in to vote
8 replies
@PinkShnack
Comment options

@Maxime-CS
Comment options

@PinkShnack
Comment options

@Maxime-CS
Comment options

@PinkShnack
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by PinkShnack
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