projektAI/venv/Lib/site-packages/matplotlib/backends/web_backend/js/mpl_tornado.js
2021-06-06 22:13:05 +02:00

9 lines
302 B
JavaScript

/* This .js file contains functions for matplotlib's built-in
tornado-based server, that are not relevant when embedding WebAgg
in another web application. */
/* exported mpl_ondownload */
function mpl_ondownload(figure, format) {
window.open(figure.id + '/download.' + format, '_blank');
}