#๐Ÿ”’ Problem with colorbar

18 messages ยท Page 1 of 1 (latest)

valid solsticeBOT
#

@supple crow

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

frank pasture
#

You could change the limits to bigger ones, e.g. on -1e-9 to 1e-9 these differences would be invisible. Why do you want to do so, though? The entire plot will be the same color, making it rather useless.

supple crow
#

where to change those limits pls

#

i want to make it with the same color

#

it's not useless in my context

frank pasture
#

the vmin, vmax arguments to imshow do that.

supple crow
#

ok

#

i have another question

#

it's the same kind of problem

#

i have something like this

#

but the values are between 0 and 1

#

i suppose i need to modify vmin and vmax again

#

instead of normalize

#

but the problem is the teacher asked us to use normalize

#

in order to have comparable graphs

valid solsticeBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.