deplacy icon indicating copy to clipboard operation
deplacy copied to clipboard

Add 'height' as a parameter to deplacy.serve function

Open James-G-Hill opened this issue 3 years ago • 2 comments

Hello,

When running serve with 'port=None' in Jupyter Lab the height of the output cell is currently set at 400 pixels. That's quite a large gap between cells leaving a lot of whitespace. I propose a height parameter with default as '400' which would allow the user to specify a smaller (or larger) height if it suits them (200 works best in Jupyter Lab for me).

I'd be willing to create a pull request for this if you would e happy to accept it.

James-G-Hill avatar Jan 09 '22 01:01 James-G-Hill

Well @James-G-Hill it seems great idea but I'm vague that it is really applicable when default port=5000. Umm...

KoichiYasuoka avatar Jan 09 '22 06:01 KoichiYasuoka

Yeah, sure good point. No worries, I wrote my own custom function anyway.

James-G-Hill avatar Jan 09 '22 23:01 James-G-Hill