Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
lectures
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Solid state physics
lectures
Merge requests
!114
Theme update
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Theme update
theme_update
into
master
Overview
0
Commits
12
Pipelines
6
Changes
1
Merged
Anton Akhmerov
requested to merge
theme_update
into
master
3 years ago
Overview
0
Commits
12
Pipelines
6
Changes
1
Expand
TODO:
fix plotly aspect ratio (see
here
Closes
#119 (closed)
,
#105 (closed)
Edited
3 years ago
by
Anton Akhmerov
0
0
Merge request reports
Viewing commit
5d15168a
Prev
Next
Show latest version
1 file
+
1
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Verified
5d15168a
fix plotly layout
· 5d15168a
Anton Akhmerov
authored
3 years ago
docs/scripts/mathjaxhelper.js
+
1
−
3
Options
@@ -116,9 +116,7 @@ window.MathJax = {
document
$
.
subscribe
(()
=>
{
for
(
const
div
of
document
.
getElementsByClassName
(
"
plotlyPlaceholder
"
))
{
Plotly
.
d3
.
json
(
div
.
getAttribute
(
"
data-plotlySource
"
),
function
(
error
,
fig
)
{
Plotly
.
plot
(
div
.
getAttribute
(
"
id
"
),
fig
.
data
,
fig
.
layout
).
then
(
function
(
value
)
{
Plotly
.
relayout
(
div
.
getAttribute
(
"
id
"
),
{
height
:
'
'
})}
)
Plotly
.
plot
(
div
.
getAttribute
(
"
id
"
),
fig
.
data
,
fig
.
layout
)
}
);
};
Loading