Ensure global figure is initialized before use (matplotlib compatibility) Auto-initializes with default dimensions if not already initialized