1

I'd like to increase the cell width in the the Enthought Canopy (v1.5.2) browser and it seems simply changing the custom.css is insufficient. Does anyone know how to do this?

I've tried this post which works on Anaconda but not on Enthought (which supplies its own lightweight browser).

Thanks!

Community
  • 1
  • 1

1 Answers1

0

Canopy provides two ways of running the IPython notebook. As you've observed, the notebook that runs inside the Canopy editor has some constraints (a trade-off for the convenience of Canopy GUI integration). As an alternative, you can run the full notebook in your standard browser: From the Canopy Tools menu, open a Canopy Command Prompt (or Canopy Terminal), then ipython notebook. This has the additional advantage that it can use the latest versions of IPython (after updating them), see this article.

Jonathan March
  • 5,800
  • 2
  • 14
  • 16
  • Thank you Jonathan. Indeed running ipython notebook from the command prompt shows that the suggestion from the above linked post works. One thing to note: updating to Canopy version 1.5.2 and rebooting my windows machine also worked. I had not rebooted since updating from 1.4 -- I guess that was required somehow. So it appears that the later version of Canopy does respect the solution from the linked post in my original question. – Ryan Ward Kelley Feb 24 '15 at 19:51
  • Just to be clear. Using windows 7 and editing `%HOME%\.ipython\profile_default\static\custom\custom.css` did nothing when I restarted the Canopy editor. However, when I edited `%HOME%\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.5.2.2785.win-x86_64\Lib\site-packages\canopy\notebook\static\custom\custom.css` with `.container { width:95% !important; }` I got the desired behavior. Note: I had to completely restart Canopy to get this going. – Ryan Ward Kelley Feb 27 '15 at 15:22