MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / _generate_css

Function _generate_css

lib/matplotlib/backends/backend_svg.py:278–279  ·  view source on GitHub ↗
(attrib)

Source from the content-addressed store, hash-verified

276
277
278def _generate_css(attrib):
279 return "; ".join(f"{k}: {v}" for k, v in attrib.items())
280
281
282_capstyle_d = {'projecting': 'square', 'butt': 'butt', 'round': 'round'}

Callers 7

_write_default_styleMethod · 0.85
_write_hatchesMethod · 0.85
_get_styleMethod · 0.85
draw_markersMethod · 0.85
_draw_text_as_pathMethod · 0.85
_draw_text_as_textMethod · 0.85

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…