1Changes for 0.42 2================ 3 4.. code-block:: text 5 6 * Refactoring AxisText to be backend independent. Text drawing and 7 get_window_extent functionality will be moved to the Renderer. 8 9 * backend_bases.AxisTextBase is now text.Text module 10 11 * All the erase and reset functionality removed from AxisText - not 12 needed with double buffered drawing. Ditto with state change. 13 Text instances have a get_prop_tup method that returns a hashable 14 tuple of text properties which you can use to see if text props 15 have changed, e.g., by caching a font or layout instance in a dict 16 with the prop tup as a key -- see RendererGTK.get_pango_layout in 17 backend_gtk for an example. 18 19 * Text._get_xy_display renamed Text.get_xy_display 20 21 * Artist set_renderer and wash_brushes methods removed 22 23 * Moved Legend class from matplotlib.axes into matplotlib.legend 24 25 * Moved Tick, XTick, YTick, Axis, XAxis, YAxis from matplotlib.axes 26 to matplotlib.axis 27 28 * moved process_text_args to matplotlib.text 29 30 * After getting Text handled in a backend independent fashion, the 31 import process is much cleaner since there are no longer cyclic 32 dependencies 33 34 * matplotlib.matlab._get_current_fig_manager renamed to 35 matplotlib.matlab.get_current_fig_manager to allow user access to 36 the GUI window attribute, e.g., figManager.window for GTK and 37 figManager.frame for wx 38