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

Function simpleKeys

lib/matplotlib/backends/web_backend/js/mpl.js:651–658  ·  view source on GitHub ↗
(original)

Source from the content-addressed store, hash-verified

649 * https://stackoverflow.com/a/24161582/3208463
650 */
651function simpleKeys(original) {
652 return Object.keys(original).reduce(function (obj, key) {
653 if (typeof original[key] !== 'object') {
654 obj[key] = original[key];
655 }
656 return obj;
657 }, {});
658}
659
660mpl.figure.prototype.mouse_event = function (event, name) {
661 if (name === 'button_press') {

Callers 1

mpl.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…