MCPcopy Index your code
hub / github.com/bqplot/bqplot / applyAttrs

Function applyAttrs

js/src/utils.ts:111–114  ·  view source on GitHub ↗
(d3el, styles)

Source from the content-addressed store, hash-verified

109}
110
111export function applyAttrs(d3el, styles) {
112 Object.keys(styles).forEach((key) => d3el.attr(key, styles[key]));
113 return d3el;
114}
115
116export function d3GetEvent() {
117 // In JupyterLab we can have require('d3-selection').event

Callers 9

renderImplMethod · 0.90
relayoutMethod · 0.90
append_axisMethod · 0.90
update_label_locationMethod · 0.90
rescale_axisMethod · 0.90
selected_changedMethod · 0.90
draw_color_barMethod · 0.90
renderImplMethod · 0.90
relayoutImplMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…