Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/matplotlib/matplotlib
/ points_to_pixels
Method
points_to_pixels
lib/matplotlib/backends/backend_wx.py:279–281 ·
view source on GitHub ↗
(self, points)
Source
from the content-addressed store, hash-verified
277
return
font
278
279
def
points_to_pixels(self, points):
280
# docstring inherited
281
return
points * (PIXELS_PER_INCH / 72.0 * self.dpi / 72.0)
282
283
284
class
GraphicsContextWx(GraphicsContextBase):
Callers
3
get_wx_font
Method · 0.95
set_linewidth
Method · 0.45
test_PathEffect_points_to_pixels
Function · 0.45
Calls
no outgoing calls
Tested by
1
test_PathEffect_points_to_pixels
Function · 0.36