diff --git a/doc/source/example/database/get_posorients.py b/doc/source/example/database/get_posorients.py
index 89b3f2af5566f3ec24db86407dd06bd7eebac14a..dfcd6cf081bfd89e7902d9ce140ff9010550465e 100644
--- a/doc/source/example/database/get_posorients.py
+++ b/doc/source/example/database/get_posorients.py
@@ -1,6 +1,3 @@
-import pandas as pd
-import numpy as np
-import matplotlib.pyplot as plt
 from navipy.database import DataBaseLoad
 import pkg_resources
 
diff --git a/navipy/database/__init__.py b/navipy/database/__init__.py
index c4bd1d67b3f69ecde90982cd307eec482e238d9e..e48e7fc04a2f54d7fd69910070984e6899b5b1b6 100644
--- a/navipy/database/__init__.py
+++ b/navipy/database/__init__.py
@@ -14,7 +14,7 @@ How to load a database
 ----------------------
 
 .. literalinclude:: example/database/get_posorients.py
-      :lines: 11
+      :lines: 8
 
 How to load all position-orientation
 ------------------------------------
@@ -26,7 +26,7 @@ position-orientation in the database. More technically \
 speaking, loading the full table of position-orientaiton.
 
 .. literalinclude:: example/database/get_posorients.py
-      :lines: 12-13
+      :lines: 9-10
 
 .. plot:: example/database/get_posorients.py