Closed jli113 closed 2 years ago
Hi, thanks for your contribution.
Can you specify which use-case this change covers and how I can test that the change works? Also, if applies, a testcase should be provided in the form of a unit test.
It's quite specific, so this seems more like an example at the application layer, instead of being part of the library itself.
In that case, it would be better to show as extending one of the tutorial notebooks, or adding another notebook.
Current behaviour
Original codes use default height and width in pyvis.network.Network
New expected behaviour
The new codes use window width and height when notebook is False
Change logs
added the following lines after line 438 if notebook == False: import pyautogui wid, hei= pyautogui.size() pyvis_graph = pyvis.network.Network(width='{}px'.format(wid), height='{}px'.format(hei), notebook=notebook) added pyautogui in requirements257