Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/matplotlib/matplotlib
/ _get_renderer
Method
_get_renderer
lib/matplotlib/figure.py:2859–2863 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2857
self._number = num
2858
2859
def
_get_renderer(self):
2860
if
hasattr(self.canvas,
'get_renderer'
):
2861
return
self.canvas.get_renderer()
2862
else
:
2863
return
_get_renderer(self)
2864
2865
def
_get_dpi(self):
2866
return
self._dpi
Callers
15
get_constrained_layout_pads
Method · 0.95
get_window_extent
Method · 0.45
get_window_extent
Method · 0.45
get_window_extents
Method · 0.45
_update_ticks
Method · 0.45
test_axisartist_tightbbox
Function · 0.45
__call__
Method · 0.45
get_window_extent
Method · 0.45
_check_xy
Method · 0.45
get_window_extent
Method · 0.45
get_window_extent
Method · 0.45
do_constrained_layout
Function · 0.45
Calls
2
_get_renderer
Function · 0.90
get_renderer
Method · 0.45
Tested by
4
test_axisartist_tightbbox
Function · 0.36
test_parent_axes_removal
Function · 0.36
test_metrics_cache
Function · 0.36
test_draw_path_collection_no_hatchcolor
Function · 0.36