Sorry about that. Since the user interface graphics_array() was left unchanged, I did not felt necessary to add a deprecation notice. Actually the main reason why I moved GraphicsArray from graphics.py to the new file multi_graphics.py is that the former was already more than 3,500 lines long. I could of course have added the new class MultiGraphics in graphics.py, but this would have resulted in a file of ~ 4,700 lines... Currently (Sage 9.0.beta3) the situation in src/sage/plot is as follows:
- graphics.py (3,318 lines --> 3403 lines in 9.0.beta4): class Graphics
- multi_graphics.py (878 lines --> 1318 lines in 9.0.beta4): class MultiGraphics and the derived class GraphicsArray.
The user interface is via the following functions/methods:
- graphics_array(): creates a GraphicsArray
- multi_graphics(): creates a MultiGraphics from a list of Graphics objects and positions (to appear in Sage 9.0.beta4, cf
#27866)
- Graphics.inset(): creates an inset in a Graphics (returns a MultiGraphics)
Best wishes,
Eric.