5

I created python 3.6 environment in miniconda. Jupyter notebook is working now right-to-left enter image description here

How can I fix it ?

installed packages:

ipykernel                 4.7.0                    py36_0    conda-forge
ipython                   6.2.1                    py36_1    conda-forge
ipython_genutils          0.2.0                    py36_0    conda-forge
jsonschema                2.5.1                    py36_0    conda-forge
jupyter_client            5.2.1                    py36_0    conda-forge
jupyter_core              4.4.0                      py_0    conda-forge
notebook                  5.2.2                    py36_1    conda-forge

Notebook metadata:

{
  "celltoolbar": "Edit Metadata",
  "kernelspec": {
    "name": "python3",
    "display_name": "Python 3",
    "language": "python"
  },
  "language_info": {
    "name": "python",
    "version": "3.6.4",
    "mimetype": "text/x-python",
    "codemirror_mode": {
      "name": "ipython",
      "version": 3
    },
    "pygments_lexer": "ipython3",
    "nbconvert_exporter": "python",
    "file_extension": ".py"
  }
}
Paebbels
  • 15,573
  • 13
  • 70
  • 139
Naomi Fridman
  • 2,095
  • 2
  • 25
  • 36
  • 1
    You could try to remove `codemirror_mode` dict – Herry Potei Jan 14 '18 at 00:33
  • @HerryPotei: no, that is not what that dict is for. This rather suggests a problem with that textbox edit field. – Jongware Jan 14 '18 at 01:39
  • how can I check the textbox edit field ? – Naomi Fridman Jan 15 '18 at 08:26
  • 1
    I noticed that Jupyter is RTL by default only on Chrome. Direction is LTR on Safari and firefox. Tried to remove any Hebrew regional settings from both Chrome and Mac O/S but that didn't solve it, so for now I am using another browser with Jupyter (too annoying to switch to RTL with ctrl-shift-F every time). Any help for fixing that for Chrome would be appreciated. – dux2 Jan 01 '19 at 10:35

3 Answers3

20

In a notebook:

  1. press ctrl+shift+F

  2. search rtl

  3. select togle rtl

Developer Guy
  • 2,318
  • 6
  • 19
  • 37
Yedidya
  • 201
  • 2
  • 3
4

Permanent Solution that worked for me:

On your chrome -> settings -> advanced -> languages

click the arrow to order languages: enter image description here

Make sure your first language is a ltr one.

Golden
  • 407
  • 2
  • 12
0

For me the only thing that worked is to remove the RTL language from the list of languages of Chrome.

shahar_m
  • 3,461
  • 5
  • 41
  • 61