/usr/lib/python3/dist-packages/matplotlib/backends/web_backend/mpl_tornado.js is in python3-matplotlib 1.5.1-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | /* This .js file contains functions for matplotlib's built-in
tornado-based server, that are not relevant when embedding WebAgg
in another web application. */
function mpl_ondownload(figure, format) {
window.open(figure.id + '/download.' + format, '_blank');
}
|