datacamp / datacamp-light

Convert any blog or website to an interactive learning platform for data science
GNU Affero General Public License v3.0
1.3k stars 355 forks source link

DataCamp Light Python Plots Don't Show #40

Closed filipsch closed 7 years ago

filipsch commented 7 years ago

@Kacawi commented on Wed Apr 19 2017

For R, the plots are shown in a separate "Plots" tab in the DataCamp Light chunks: screenshot 2017-04-19 10 06 31

For Python, the plots don't show in the separate "Plots" tab. There's only a question mark icon: screenshot 2017-04-19 10 10 24


@filipsch commented on Thu Apr 27 2017

This should be rather easy to fix, we'll take it up asap.

EvertEt commented 7 years ago

Can it be that the python plot output is not hex anymore?

filipsch commented 7 years ago

@EvertEt exactly, it's SVG now... We know where the issue is, actually, just need time to fix it. This is the link to the relevant commit in Angular version of campus app: https://github.com/datacamp/campus-app/commit/fa9f74033badf89acb709d5cd56addcd04263288; we'll fix it.

Here's a link to test: https://cdn.datacamp.com/dcl/standalone-example.html

filipsch commented 7 years ago

Fixed! @Kacawi @machow