Hi Rolan

I am able to reproduce the problem in both chrome and safari running on mac
os high Serria.

Turnning lineWrapping off in codeCell¹s seems to have resolved the problem.
I am not sure if this is a bug or a feature. What I wanted was to format my
python code cells so that all the code would always be displayed even if
line # are displayed or I download to html or pdf. I did not want ot have to
manualy insert line breaks or do other formating. Maybe there is a better
way to  get this kind of functionalty?

Kind regards

Andy


$ cat ~/.jupyter/nbconfig/notebook.json

{

    "aedwip_comment": {

        
"howToWrapText":"https://stackoverflow.com/questions/36419342/how-to-wrap-co
de-text-in-jupyter-notebooks"

    },

  "MarkdownCell": {

    "cm_config": {

      "lineWrapping": true

    }

  },

  "CodeCell": {

    "cm_config": {

      "lineWrapping": false

    }

  }

}

$ 


From:  <[email protected]> on behalf of Thomas Kluyver
<[email protected]>
Reply-To:  <[email protected]>
Date:  Monday, February 5, 2018 at 2:35 AM
To:  Project Jupyter <[email protected]>
Subject:  Re: [jupyter] Re: how come cells do not display all my code?

> Do you have any extensions or custom config in your browser? Can you reproduce
> the problem in another browser?
> 
> On 5 February 2018 at 07:02, Roland Weber <[email protected]> wrote:
>> Hello Andy,
>> 
>> maybe there's something in the default stylesheet. I know that long output is
>> shown with a scrollbar by default, but you can click to the left of the
>> output to have that section expanded. Could be that the same thing is in
>> effect for code cells as well.
>> 
>> cheers,
>>   Roland
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups
>> "Project Jupyter" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jupyter/59261ea3-6454-4a17-9a99-1992ce21ec3
>> 4%40googlegroups.com
>> <https://groups.google.com/d/msgid/jupyter/59261ea3-6454-4a17-9a99-1992ce21ec
>> 34%40googlegroups.com?utm_medium=email&utm_source=footer> .
>> 
>> For more options, visit https://groups.google.com/d/optout.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/CAOvn4qjNR438W%3DAM%3DsiRsiHECPEdeC9
> AyrXKgtNkNUXG7OsOaw%40mail.gmail.com
> <https://groups.google.com/d/msgid/jupyter/CAOvn4qjNR438W%3DAM%3DsiRsiHECPEdeC
> 9AyrXKgtNkNUXG7OsOaw%40mail.gmail.com?utm_medium=email&utm_source=footer> .
> For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/D69DDE1A.5DC11%25Andy%40SantaCruzIntegration.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to