Comments (3)
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:
- 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.
- 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.
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.
Can confirm that it works.
Thanks!
from pandoc-pyplot.
Related Issues (9)
- An error breaks the installation of pandoc-pyplot HOT 3
- Add Additional Parameters for saveFig HOT 6
- Limited to matplotlib HOT 18
- Support for interactive Plotly figures when possible
- [FEATURE REQUEST]: Include multiple scripts HOT 3
- [FEATURE REQUEST]: configuration and include scripts in YAML metadata block HOT 2
- [FEATURE REQUEST]: store state between executions of blocks HOT 2
- Problem with pandoc 2.8 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pandoc-pyplot.