Closed dsoto closed 9 years ago
What versions of ipython and pelican are you using?
~ > pelican --version 3.5.0 ~ > ipython --version 2.3.1
You can see the post at http://danielrsoto.com/blog/2015/02/01/debugging/
I just updated the plugin to support new versions of ipython and pelican and that might have fixed this issue since I was able to render a plot without issues: http://danielfrg.com/drafts/ipython-notebook-test.html
I'm seeing this issue on my recent download of master.
Here is a minimal example where the plot rendering seems to break and insert CSS around 120 plotting points.
http://danielrsoto.com/drafts/debugging-2.html
I cannot reproduce the error :(
I just did the same plot on my test post (http://danielfrg.com/drafts/ipython-notebook-test.html) but it renders fine for me.
Are you in the latest pelican and ipython? This is my environment:
(blog)➜ blog git:(master) pip freeze
backports.ssl-match-hostname==3.4.0.2
blinker==1.3
docutils==0.12
feedgenerator==1.7
ipython==3.0.0
Jinja2==2.7.3
jsonschema==2.4.0
Markdown==2.6.1
MarkupSafe==0.23
matplotlib==1.4.3
mistune==0.5.1
numpy==1.9.2
pelican==3.5.0
ptyprocess==0.4
Pygments==2.0.2
pyparsing==2.0.3
python-dateutil==2.4.1
pytz==2015.2
pyzmq==14.5.0
six==1.9.0
terminado==0.5
tornado==4.1
Unidecode==0.4.17
check your pip freeze and try to match to the latest versions.
Thank you very much. I matched all versions in a conda environment and now I'm able to plot without issues. If I find myself with enough time, I may try to isolate the offending package.
Good to know, let me know if you find out.
Closing now.
I'm encountering a strange condition where the embedded png of a plot seems to be truncated and mixed with what looks like CSS code in the rendered output. Inspecting the html, it looks like the png has a bunch of CSS appended. I haven't been able to create a simple example yet.