Having this call there was necessary in the past as the open() method would need the canvas size as a parameter. This is now determined automatically after rendering. Still calling open() is deprecated but won't result in an error.