Earth example and interactive plotting

In [1]:
%load_ext autoreload
%autoreload 2
%matplotlib inline

In [2]:
from os import path, environ
import fiona
import numpy as N
import attitude
from attitude import Orientation, ReconstructedPlane, create_groups
from attitude.display import plot_interactive, init_notebook_mode
from attitude.plot import plot_aligned
from json import dumps
from sys import argv
import palettable as P

In [3]:
BASE = path.join(path.dirname(attitude.__file__),'..','js-frontend')
DATA = path.join(BASE,"ui-test/data")

Two views of the stratigraphy

In [4]:
from IPython.display import Image
Image(filename=path.join(DATA,'DJI_0454.PNG'), width=500)