-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pandoc plot does not recognize the Matplotlib I installed #34
Comments
Hello there, I'm sorry you're having trouble. I notice that your markdown file doesn't look like what # My document
```{.matplotlib}
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')
```
It is important that your plotting code be 'sandwiched' between |
My document is in ``` 。I think there is a problem with pandoc plot or Python environment variables, which leads to incorrect identification. My pandoc plot downloads exe files and communicates with Pando Exe is in the same directory. |
Allright, let's turn on logging to see what's going on. In the same repository as your file, can you create a file named # .pandoc-plot.yml
logging:
verbosity: debug Then, if you run the conversion command |
I modified the environment variable and it can work normally. |
Awesome, I'll close this issue for now, but don't hesitate to reopen if it stops working |
My running environment is Windows 7
python 3.8.5
matplotlib 3.5.1
Toolkit: python/matplotlib
code block trigger: matplotlib
pandoc --filter pandoc-plot --highlight-style pygments markdown. md -s -o output. html
renderer for python/matplotlib needed but is not installed
The text was updated successfully, but these errors were encountered: