Skip to content

Commit b6c5334

Browse files
fix: tangent graph bounds
1 parent 478ff7b commit b6c5334

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

calc-frontend/src/components/Tangent/IntTangentGraph.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ function IntTangentGraph() {
66

77
useLayoutEffect(() => {
88
window.PLOTLYENV = window.PLOTLYENV || {};
9-
if (document.getElementById("fab4ffcf-5bd9-434f-9260-f2ee64c0b385")) {
10-
Plotly.newPlot("fab4ffcf-5bd9-434f-9260-f2ee64c0b385", [{
9+
if (document.getElementById("d69fe3c8-e512-4238-a713-c58592dfa54d")) {
10+
Plotly.newPlot("d69fe3c8-e512-4238-a713-c58592dfa54d", [{
1111
"hovertemplate": "(%{x:.2f}, %{y:.2f})",
1212
"legendgroup": "",
1313
"line": {
@@ -668,7 +668,7 @@ useLayoutEffect(() => {
668668

669669

670670
return (
671-
<div className="plotly-graph-div graph-frame unit-frame" id="fab4ffcf-5bd9-434f-9260-f2ee64c0b385">
671+
<div className="plotly-graph-div graph-frame unit-frame" id="d69fe3c8-e512-4238-a713-c58592dfa54d">
672672
</div>
673673
)
674674

calc-frontend/src/components/Tangent/TangentInt.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function TangentInt() {
1414

1515
<MathJax>
1616
<h2 style={{ marginBottom: '1rem' }}>
17-
{"\\(\\int_0^1 tan(x) \\,dx\\)"}
17+
{"\\(\\int_0^{1.5} tan(x) \\,dx\\)"}
1818
</h2>
1919
</MathJax>
2020

0 commit comments

Comments
 (0)