Skip to content

Commit

Permalink
add image to front page of docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Nov 10, 2019
1 parent c487506 commit aebc84f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
A highly configurable 2D (SVG) & 3D (threejs) visualisation creator for ASE/Pymatgen structures,
within the Jupyter Notebook.

![Example SVG](./example_vis.svg)
![Example SVG](/docs/source/images/example_vis.svg)

## Purpose

Expand Down
7 changes: 6 additions & 1 deletion ase_notebook/backend/threejs.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,12 @@ def create_world_axes(
)
ax_camera.up = camera.up
ax_renderer = pjs.Renderer(
scene=ax_scene, camera=ax_camera, width=canvas_width, height=canvas_height
scene=ax_scene,
camera=ax_camera,
width=canvas_width,
height=canvas_height,
alpha=True,
clearOpacity=0.0,
)

def align_axes(change=None):
Expand Down
File renamed without changes
7 changes: 6 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,14 @@ ase-notebook
api_index


A highly configurable 2D (SVG) & 3D (threejs) visualisation creator,
A highly configurable 2D (SVG) & 3D (threejs) visualisation creator,
for ASE/Pymatgen structures, within the `Jupyter`_ Notebook.

.. figure:: images/example_vis.*
:width: 50%
:align: center
:alt: example SVG

Purpose
-------

Expand Down

0 comments on commit aebc84f

Please sign in to comment.