C2DH / jdh-notebook

A collection of Jupyter notebooks for the Journal of Digital History
https://journalofdigitalhistory.org
GNU Affero General Public License v3.0
4 stars 1 forks source link

Technical revision after R1 :merge “Public opinion should be suspended until further report”: A Data-Assisted Analysis of International Newspaper Coverage of the Explosion of the USS Maine (1898) #145

Closed eliselavy closed 7 months ago

eliselavy commented 8 months ago

Resynchronise here : https://github.com/jdh-observer/aADj3Ljjqti2

eliselavy commented 7 months ago

Problem again with the preview of the plot figures @danieleguido , I reopen https://github.com/C2DH/journal-of-digital-history/issues/541

Notebook in trusted mode Output save

Image

But by looking raw: https://raw.githubusercontent.com/jdh-observer/aADj3Ljjqti2/main/articleMaine.ipynb

No

" require.undef("plotly");\n",
" define('plotly', function(require, exports, module) {\n",
" /**\n",
"* plotly.js v2.18.0\n",

Image

eliselavy commented 7 months ago

@danieleguido problme in my notebook don' t know why...

in previous version indeed:

https://raw.githubusercontent.com/jdh-observer/aADj3Ljjqti2/ee2c264822916da042766c802a47e19d975a71b4/articleMaine.ipynb


"outputs": [
    {
     "data": {
      "text/html": [
       "        <script type=\"text/javascript\">\n",
       "        window.PlotlyConfig = {MathJaxConfig: 'local'};\n",
       "        if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: \"STIX-Web\"}});}\n",
       "        if (typeof require !== 'undefined') {\n",
       "        require.undef(\"plotly\");\n",
       "        define('plotly', function(require, exports, module) {\n",
       "            /**\n",
       "* plotly.js v2.18.0\n",
danieleguido commented 7 months ago

Hi @eliselavy let me have a look at it

eliselavy commented 7 months ago

With latency loaded in the notebook @danieleguido

   "data": {
      "text/html": [
       "        <script type=\"text/javascript\">\n",
       "        window.PlotlyConfig = {MathJaxConfig: 'local'};\n",
       "        if (window.MathJax && window.MathJax.Hub && window.MathJax.Hub.Config) {window.MathJax.Hub.Config({SVG: {font: \"STIX-Web\"}});}\n",
       "        if (typeof require !== 'undefined') {\n",
       "        require.undef(\"plotly\");\n",
       "        define('plotly', function(require, exports, module) {\n",
       "            /**\n",
       "* plotly.js v2.12.1\n",
       "* Copyright 2012-2022, Plotly, Inc.\n",
       "* All rights reserved.\n",
       "* Licensed under the MIT license\n",
       "*/\n",

https://raw.githubusercontent.com/jdh-observer/aADj3Ljjqti2/main/articleMaine.ipynb

Now problem: figure-8

Doesn't response: https://hndm.iib.unam.mx/consulta/resultados/visualizar/558a33207d1ed64f16908db9?resultado=14&tipo=pagina&intPagina=1&palabras=Maine#bajar

https://journalofdigitalhistory.org/en/notebook-viewer/JTJGcHJveHktZ2l0aHVidXNlcmNvbnRlbnQlMkZqZGgtb2JzZXJ2ZXIlMkZhQURqM0xqanF0aTIlMkZtYWluJTJGYXJ0aWNsZU1haW5lLmlweW5i?idx=94

Image

eliselavy commented 7 months ago

Sent to peer-review