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

F-String highlight problem #2358

Closed
brdsio opened this issue Apr 2, 2017 · 4 comments
Closed

F-String highlight problem #2358

brdsio opened this issue Apr 2, 2017 · 4 comments

Comments

@brdsio
Copy link

brdsio commented Apr 2, 2017

Hi,
I started using F-String and I realized that the notebook could not highlight correctly the line.
Here some examples:

Without F-String formatting:
captura de tela de 2017-04-02 13-02-38

With raw string formatting:
captura de tela de 2017-04-02 13-02-59

With F-String formatting:
captura de tela de 2017-04-02 13-03-38

Server Information:

You are using Jupyter notebook.

The version of the notebook server is 4.3.1 and is running on:

Python 3.6.0 |Anaconda 4.3.0 (64-bit)| (default, Dec 23 2016, 12:22:00) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]

My Firefox version: 50.0
I have tested with Google Chrome 57 and had the same behavior.

If you give the path, I would be happy fixing this.
Thank you.

@gnestor
Copy link
Contributor

gnestor commented Apr 3, 2017

Hi @flaviodrt! This issue was fixed by #2066, so simply upgrade the notebook to 4.4.1 (pip install notebook --upgrade).

Please confirm that this resolves it for you 👌

@gnestor
Copy link
Contributor

gnestor commented Apr 4, 2017

You can now upgrade to 5.0 👍

@brdsio
Copy link
Author

brdsio commented Apr 5, 2017

Hi @gnestor, thank you for your attention!
I'm sorry about that, I've searched for an issue about f-string but apparently I've failed in my search.
I've downloaded a fresh anaconda install from anaconda's website about one month ago and I thought that it was up to date.

Updating my notebook solved this problem!
Thank you again!

@gnestor gnestor closed this as completed Apr 5, 2017
@mileserickson
Copy link

Note: Anaconda users may prefer conda update notebook

@minrk minrk added this to the Reference milestone Sep 13, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants