Skip to content

Commit

Permalink
Fix Coordinates page
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenpetryk committed Feb 19, 2024
1 parent 48d3f6c commit e3bfac2
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions docs/app/guides/display/coordinates/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { PropTable } from "components/PropTable"
import CodeAndExample from "components/CodeAndExample"

import { Coordinates } from "mafs"

import CartesianCoordinatesExample from "guide-examples/display/coordinates/CartesianCoordinatesExample"
import CartesianCoordinatesExampleSource from "!raw-loader!guide-examples/display/coordinates/CartesianCoordinatesExample"

Expand All @@ -26,12 +24,12 @@ function CoordinatesPage() {

<h2>Cartesian coordinates</h2>

{/* <CodeAndExample
<CodeAndExample
component={<CartesianCoordinatesExample />}
source={CartesianCoordinatesExampleSource}
/> */}
/>

<PropTable of={Coordinates.Cartesian} />
<PropTable of={"Coordinates.Cartesian"} />

<h3>Axis options</h3>

Expand Down Expand Up @@ -66,19 +64,19 @@ function CoordinatesPage() {
<code>labels</code> to render in terms of π.
</p>

{/* <CodeAndExample
<CodeAndExample
component={<CartesianCoordinatesConfigExample />}
source={CartesianCoordinatesConfigExampleSource}
/> */}
/>

<h2>Polar coordinates</h2>

{/* <CodeAndExample
<CodeAndExample
component={<PolarCoordinatesExample />}
source={PolarCoordinatesExampleSource}
/> */}
/>

{/* <PropTable of={Coordinates.Polar} /> */}
<PropTable of={"Coordinates.Polar"} />

<h3>Axis options</h3>

Expand Down

0 comments on commit e3bfac2

Please sign in to comment.