Skip to content

Commit

Permalink
fix boxplot example
Browse files Browse the repository at this point in the history
  • Loading branch information
holtzy committed Nov 2, 2023
1 parent 8fd17e5 commit db1a24c
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 120 deletions.
5 changes: 1 addition & 4 deletions pages/example/boxplot-horizontal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ import ChartFamilySection from 'component/ChartFamilySection';
import { CodeBlock } from 'component/UI/CodeBlock';
import { ChartOrSandbox } from 'component/ChartOrSandbox';
import Link from 'next/link';
import { ArcDiagramVerticalDemo } from 'viz/ArcDiagramVertical/ArcDiagramVerticalDemo';
import { LinkAsButton } from 'component/LinkAsButton';
import { ScatterplotCanvasBasicDemo } from 'viz/ScatterplotCanvas/ScatterplotCanvasBasicDemo';
import { BoxplotHorizontalDemo } from 'viz/BoxplotHorizontal/BoxplotHorizontalDemo';

const graphDescription = (
Expand Down Expand Up @@ -61,7 +58,7 @@ export default function Home() {
thanks to the <code>scaleBand()</code> function.
</p>
<ChartOrSandbox
vizName={'BoxplotHorizontalDemo'}
vizName={'BoxplotHorizontal'}
VizComponent={BoxplotHorizontalDemo}
maxWidth={500}
height={500}
Expand Down
Binary file removed public/section/TableSmall.png
Binary file not shown.
232 changes: 116 additions & 116 deletions style/prism.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,119 +5,119 @@
* Ported for PrismJS by Albert Vallverdu [@byverdu]
*/

code[class*="language-"],
pre[class*="language-"] {
font-size: 16px;
color: #f8f8f2;
background: none;
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}

/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
border-radius: 0.3em;
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background: #282a36;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #6272a4;
}

.token.punctuation {
color: #f8f8f2;
}

.namespace {
opacity: .7;
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
color: #ff79c6;
}

.token.boolean,
.token.number {
color: #bd93f9;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
color: #50fa7b;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable {
color: #f8f8f2;
}

.token.atrule,
.token.attr-value,
.token.function,
.token.class-name {
color: #8cabfa;
}

.token.keyword {
color: #8be9fd;
}

.token.regex,
.token.important {
color: #ffb86c;
}

.token.important,
.token.bold {
font-weight: bold;
}

.token.italic {
font-style: italic;
}

.token.entity {
cursor: help;
}
code[class*='language-'],
pre[class*='language-'] {
font-size: 16px;
color: #f8f8f2;
background: none;
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}

/* Code blocks */
pre[class*='language-'] {
padding: 1em;
margin: 0.5em 0;
overflow: auto;
border-radius: 0.3em;
}

:not(pre) > code[class*='language-'],
pre[class*='language-'] {
background: #282a36;
}

/* Inline code */
:not(pre) > code[class*='language-'] {
padding: 0.1em;
border-radius: 0.3em;
white-space: normal;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #6272a4;
}

.token.punctuation {
color: #f8f8f2;
}

.namespace {
opacity: 0.7;
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
color: #ff79c6;
}

.token.boolean,
.token.number {
color: #bd93f9;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
color: #50fa7b;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable {
color: #f8f8f2;
}

.token.atrule,
.token.attr-value,
.token.function,
.token.class-name {
color: #8cabfa;
}

.token.keyword {
color: #8be9fd;
}

.token.regex,
.token.important {
color: #ffb86c;
}

.token.important,
.token.bold {
font-weight: bold;
}

.token.italic {
font-style: italic;
}

.token.entity {
cursor: help;
}

0 comments on commit db1a24c

Please sign in to comment.