(original)
| 649 | * https://stackoverflow.com/a/24161582/3208463 |
| 650 | */ |
| 651 | function 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 | |
| 660 | mpl.figure.prototype.mouse_event = function (event, name) { |
| 661 | if (name === 'button_press') { |
no outgoing calls
no test coverage detected
searching dependent graphs…