8282
8383 < div class ="container ">
8484
85- < div class ="row "> < div class ="col-xs- 12 col-lg-6 col-md-8 offset-md-1 offset-lg-2 ">
85+ < div class ="row "> < div class ="col-12 col-lg-6 col-md-8 offset-md-1 offset-lg-2 ">
8686 < img class ="img-fluid pb-4 " src ="/img/banner.png ">
8787 < h1 > Python Plotting for Exploratory Data Analysis</ h1 >
8888
@@ -104,7 +104,7 @@ <h3>Contents</h3>
104104 </ div >
105105 </ div >
106106
107- < div class ="row "> < div class ="col-xs- 12 col-lg-8 col-md-8 offset-md-1 offset-lg-2 ">
107+ < div class ="row "> < div class ="col-12 col-lg-8 col-md-8 offset-md-1 offset-lg-2 ">
108108 {% for name, table in data.items() %}
109109 < h5 > {{ name }}</ h5 >
110110
@@ -113,7 +113,7 @@ <h5>{{ name }}</h5>
113113 </ div > </ div >
114114
115115 < hr >
116- < div class ="row mt-4 " id ="examples "> < div class ="col-xs- 12 col-md-10 offset-md-1 ">
116+ < div class ="row mt-4 " id ="examples "> < div class ="col-12 col-md-10 offset-md-1 ">
117117 {% for (name, slug), items in plots.items() %}
118118 {% set outer_loop = loop %}
119119 < section id ="{{ slug }} ">
@@ -136,17 +136,17 @@ <h3 class="card-title mb-1">{{ name }}<a class="anchor-link" href="#{{ slug }}"
136136 < div class ="tab-pane {% if loop.index0 == 0 %} active{% endif %} " id ="{{ slug }}{{ plot['package-slug'] }} " role ="tabpanel ">
137137 < div class ="container-fluid ">
138138 < div class ="row ">
139- < div class ="col-lg-6 col-xs- 12 p-lg-0 ">
139+ < div class ="col-lg-6 col-12 p-lg-0 ">
140140 < a href ="{{ plot['image'] }} " data-toggle ="lightbox " data-title ="{{ name }} - {{ plot['package'] }} ">
141141 < img src ="{{ plot['image'] }} " class ="img-fluid " alt ="{{ name }} drawn with {{ plot['package'] }} " width ="{{ plot['image-width'] }} " height ="{{ plot['image-height'] }} " decoding ="async "{% if not eager %} loading ="lazy "{% endif %} >
142142 </ a >
143143 </ div >
144- < div class ="col-lg-6 col-xs- 12 p-0 right-col d-inline-flex flex-column ">
144+ < div class ="col-lg-6 col-12 p-0 right-col d-inline-flex flex-column ">
145145 < div class ="code-head d-flex justify-content-between align-items-center pt-3 px-3 ">
146146 < h6 class ="text-muted mb-0 pb-0 "> Code:</ h6 >
147147 < button type ="button " class ="copy-btn " data-copy aria-label ="Copy code for {{ name }} with {{ plot['package'] }} "> Copy</ button >
148148 </ div >
149- {% if plot['package'] == "ggplot" %}
149+ {% if plot['package-slug '] == "ggplot" %}
150150 < code class ="p-0 mb-auto "> {% highlight 'R' %}{{ plot['content'] }}{% endhighlight %}</ code >
151151 {% else %}
152152 < code class ="p-0 mb-auto "> {% highlight 'python' %}{{ plot['content'] }}{% endhighlight %}</ code >
0 commit comments