Jupyter unexpected error

in this peice of code the palette = ‘inferno’,
which is the correct syntax and when i run the code its giving me ple= = ttefernorno’, some kind of garbage error or something that i cant figure out
thank you

Do you have some sort of weird character in that line or the line above or below? It’s recombining that line.
Did you try removing just that line? Re-typing that line?
Did you do anything complex to try and customize something?

Sharing a minimal reproducible example. At least some code would help take this discussion in the right direction. See Getting good answers to your questions.

I think the jupyter is taking some garbage input or changing the line with some garbage line like palette =‘inferno’ is automatically becoming palette = ‘inforno’
Please help me solve this error

What if you type in a cell the following?

print(" palette = ‘inferno’ ")

You didn’t address any of the questions in the last post I made or supply a minimal reproducible example? It is hard to determine what is going on without more information.