Skip to content

Instantly share code, notes, and snippets.

@altavir
Last active July 21, 2020 17:01
Show Gist options
  • Save altavir/cbeb378787bd428a40d6241777617c64 to your computer and use it in GitHub Desktop.
Save altavir/cbeb378787bd428a40d6241777617c64 to your computer and use it in GitHub Desktop.

This is the markdown file with embeded plot

<script src="https://cdnjs.cloudflare.com/ajax/libs/plotly.js/1.54.6/plotly.min.js" integrity_no="sha512-nImrVUd2OlM2T1PrCuXXMDsIyXD5zlpjpRRYicksbmLwn8uZhYFfSGLGeRIhnKJBsCdXY+ecvOiCFJnokwfEvg==" crossorigin="anonymous"></script>
<script> Plotly.react( 'plot', [{"mode":"markers","x":[1,2,3,4],"y":[10,15,13,17],"type":"scatter"},{"mode":"lines","x":[2,3,4,5],"y":[10,15,13,17],"type":"scatter"},{"mode":"lines+markers","x":[1,2,3,4],"y":[12,5,2,12],"type":"scatter"}], {"title":{"text":"Line and Scatter Plot"}}, {} ); </script>

Some text here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment