Giter VIP home page Giter VIP logo

Comments (3)

LaurentRDC avatar LaurentRDC commented on September 13, 2024

Hi Tharre,

The way pandoc-pyplot and pandoc communicate is via JSON. As you can see, somewhere this communication is breaking down. I can see two potential problems:

  1. I have not tried pandoc-pyplot and pandoc 2.7 together. This interaction might be different than with pandoc 2.5 (which I use for testing), although I can't see why that would be the case.
  2. There is a character in your input.md that trips pandoc-pyplot for some reason. Are you using the README example?
    ```{.pyplot}
    import matplotlib.pyplot as plt

    plt.figure()
    plt.plot([0,1,2,3,4], [1,2,3,4,5])
    plt.title('This is an example figure')
    ```

I will try the above example with pandoc 2.7.2

from pandoc-pyplot.

LaurentRDC avatar LaurentRDC commented on September 13, 2024

It is due to pandoc-pyplot's input arguments. Pandoc-pyplot was getting confused between inputs from pandoc and invalid flags.

This behavior is not present in pandoc-pyplot v2.1.0.1. You should be able to use it without problems. I will release an update to fix it this morning (v2.1.1.1).

Edit: a new version with the appropriate fix has been released. Give it a try and let me know if this is fixed.

Forgive me for the inconvenience!

from pandoc-pyplot.

Tharre avatar Tharre commented on September 13, 2024

Can confirm that it works.

Thanks!

from pandoc-pyplot.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.