Skip to content

Conversation

@cdknorow
Copy link

@cdknorow cdknorow commented Apr 3, 2016

… menu select item

updated markdown cell to also allow split window
switched order of cell styling
moved cell style down to bottom of the dropdown menu
updated to use metadata of the cell to store the cell position
minor bug fixes
refactor code
updating tojson and from json to add persistence

… menu select item

updated markdown cell to also allow split window
switched order of cell styling
moved cell style down to bottom of the dropdown menu
updated to use metadata of the cell to store the cell position
minor bug fixes
refactor code
updating tojson and from json to add persistence
@cdknorow cdknorow changed the title Adding a split cell style into the notebook- This feature is great for larger monitors. Adding a split cell style into the notebook- main benefits: make better use of larger monitors relatstate and accademic journal style notebooks. Apr 3, 2016
@cdknorow cdknorow changed the title Adding a split cell style into the notebook- main benefits: make better use of larger monitors relatstate and accademic journal style notebooks. Adding a split cell style into the notebook- main benefits: make better use of larger monitors real-estate and accademic journal style notebooks. Apr 3, 2016
@cdknorow
Copy link
Author

cdknorow commented Apr 3, 2016

I have always wanted a feature like this, mainly on a larger screen I want to be able to use more of the real-estate and having plots, dataframes and markdown side by side can be very powerful. I'm not a javascript developer so I found the easiest way to do this was through small modifications to the actual code, though I'm certainly open to whatever you guys feel is best.

screen shot 2016-04-02 at 6 52 30 pm

Implementation summary,:I

  • added a cell_style attribute which can be set to center, left, or right.
    -This is stored in the ipynb json format for persistence as cell_style attribute.
  • The modification to the html sets the cell style to float left or right at 50% width or to be 100width for centered.

ps. I've been a huge fan of ipython since before ipython notebook existed and I really love what you guys have done.

@cdknorow cdknorow changed the title Adding a split cell style into the notebook- main benefits: make better use of larger monitors real-estate and accademic journal style notebooks. Adding a split cell style into the notebook Apr 3, 2016
@cdknorow
Copy link
Author

cdknorow commented Apr 3, 2016

I'm going to figure out why unit tests are failing, add better documentation and update unit tests where appropriate. But I could use advice help if any is available.

@ellisonbg
Copy link
Contributor

I agree with @takluyver that this is probably better an an extension. That would enable us to see how users respond to it before including it for all users.

@cdknorow
Copy link
Author

cdknorow commented Apr 7, 2016

Is there anyone I can talk to about implementing this as an extension?

@takluyver
Copy link
Member

@Carreau generally knows the most about JS extensions, and @juhasch has the most experience working with them at the notebook extensions repo.

@ellisonbg
Copy link
Contributor

Also @willingc knows about some of the new documentation about nbextensions
we are adding for 4.2.

On Thu, Apr 7, 2016 at 4:45 PM, Thomas Kluyver [email protected]
wrote:

@Carreau https://github.com/Carreau generally knows the most about JS
extensions, and @juhasch https://github.com/juhasch has the most
experience working with them at the notebook extensions repo
https://github.com/ipython-contrib/IPython-notebook-extensions.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#1298 (comment)

Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
[email protected] and [email protected]

@juhasch
Copy link

juhasch commented Apr 8, 2016

As @takluyver suggests, take a look at the notebook extensions repo. Take look at the existing extensions or open an issue to discuss how to do this as an extension.

@cdknorow
Copy link
Author

Thanks @takluyver, @juhasch and @ellisonbg . I went over the extensions in the reop and have created an ipython extension which performs fairly well. I will update as I have time. ipython-contrib/jupyter_contrib_nbextensions#573

@ellisonbg
Copy link
Contributor

Great!

On Tue, Apr 12, 2016 at 12:28 AM, Chris Knorowski [email protected]
wrote:

I have created an ipython extension which performs well. I will update as
I have time. ipython-contrib/jupyter_contrib_nbextensions#573
ipython-contrib/jupyter_contrib_nbextensions#573


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#1298 (comment)

Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
[email protected] and [email protected]

@Carreau
Copy link
Member

Carreau commented Apr 13, 2016

Ok, great, sorry to have let this slipped through, lot of things to deal with these days.

Closing as this is now an extension !

@Carreau Carreau closed this Apr 13, 2016
@minrk minrk modified the milestone: no action Apr 15, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants