Skip to content

Commit 91a1300

Browse files
committed
Merge branch 'release/v0.4.1'
2 parents c8bd735 + d8104f3 commit 91a1300

File tree

104 files changed

+3488
-1831
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+3488
-1831
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ target/
6060

6161
#Ipython Notebook
6262
.ipynb_checkpoints
63+
notebooks/
6364

6465
# Vispy learning folder :
6566
Vispy_examples/

docs/_static/baniere.png

25.4 KB
Loading

docs/_static/carousel/connect.png

306 KB
Loading
456 KB
Loading

docs/_static/carousel/objects.png

325 KB
Loading

docs/_static/carousel/pip_install.png

22 KB
Loading

docs/_static/carousel/signal.png

421 KB
Loading

docs/_static/carousel/sleep.png

314 KB
Loading

docs/_static/carousel/topo.png

299 KB
Loading

docs/_static/visbrain.png

63.8 KB
Loading

docs/_static/visbrain_styles.css

+151
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
/* ############################ FONT ############################*/
2+
body {
3+
font-size: 16;
4+
}
5+
a:link { /* link */
6+
color: #2e88c5;
7+
font-weight: bold;
8+
}
9+
a:visited { /* visited link */
10+
color: #2e88c5;
11+
}
12+
a:hover { /* mouse over link */
13+
color: #2ecc71;
14+
}
15+
a:active { /* selected link */
16+
color: #2ecc71;
17+
}
18+
code {
19+
color: #ab4642 !important;
20+
background-color: #eedad9 !important;
21+
}
22+
23+
/* ############################ TITLES ############################*/
24+
/*h1 {
25+
background-color: powderblue;
26+
}
27+
h2 {
28+
background-color: gray;
29+
}
30+
h3 {
31+
background-color: orange;
32+
}*/
33+
34+
/* ############################ COLORS ############################*/
35+
.bg-primary{
36+
color: #FFF ;
37+
background-color: #4D394B;
38+
}
39+
40+
/* ############################ RUBRIC ############################*/
41+
.rubric {
42+
color: #FFF;
43+
background-color: #4b4d39;
44+
padding: 10px 10px 10px 10px;
45+
border-radius: 10px;
46+
box-shadow: 10px 10px 20px -10px black;
47+
}
48+
49+
dt:target, span.highlighted {
50+
padding: 10px 10px 10px 10px;
51+
border-radius: 10px;
52+
}
53+
54+
/* ############################ TABLE ############################*/
55+
th {
56+
background-color: rgb(180, 180, 180);
57+
color: white;
58+
/*border-radius: 10px;*/
59+
}
60+
/*tr:hover {
61+
background-color: #3498db;
62+
}*/
63+
/*tr:nth-child(even) {
64+
background-color: #f2f2f2;
65+
}*/
66+
67+
/* ############################ BUTTONS ############################*/
68+
.btn-primary {
69+
background-color: #5e4c5d;
70+
font-weight: bold;
71+
}
72+
.btn-primary:hover {
73+
background-color: #4D394B;
74+
font-weight: bold;
75+
}
76+
77+
/* ############################ ALERT ############################*/
78+
.alert-info {
79+
background-color: #47a7f5;
80+
font-weight: bold;
81+
}
82+
.alert-warning {
83+
background-color: #FD9500;
84+
font-weight: bold;
85+
}
86+
.alert-primary {
87+
background-color: #4b4d39;
88+
color: #FFF;
89+
border-radius: 10px;
90+
}
91+
92+
/* ############################ GRID ############################*/
93+
.grid-container {
94+
display: grid;
95+
grid-template-columns: auto auto auto;
96+
padding: 10px;
97+
}
98+
.grid-item {
99+
padding: 20px;
100+
text-align: left;
101+
}
102+
103+
/* ############################ NAVIGATION BAR ############################*/
104+
.navbar-default .navbar-nav > li > a {
105+
color: #a69ca5;
106+
}
107+
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
108+
color: #FFF;
109+
}
110+
.navbar {
111+
color: red;
112+
background-color: #4D394B;
113+
}
114+
.navbar-default .navbar-text {
115+
color: #FFF;
116+
}
117+
/*ul.nav.nav-list {
118+
color: #FFF;
119+
background-color: #a69ca5;
120+
}*/
121+
122+
/* ############################ FOOTER ############################*/
123+
footer {
124+
text-align: center;
125+
margin-left: auto;
126+
margin-right: auto;
127+
}
128+
129+
/* ############################ CAROUSEL ############################*/
130+
.carousel-caption {
131+
text-shadow: 0 1px 1px rgba(0,0,0,1.0);
132+
background-color: rgba(26,26,26,0.7);
133+
box-shadow: 0 0 5px rgba(26,26,26,0.5);
134+
border-radius: 10px;
135+
}
136+
.carousel-control.left {
137+
border-radius: 5px;
138+
}
139+
.carousel-control.right {
140+
border-radius: 5px;
141+
}
142+
.carousel-inner {
143+
border-radius: 5px;
144+
}
145+
146+
147+
/* ############################ TOPICS ############################*/
148+
.topic {
149+
background-color: #EEEEEC;
150+
border-radius: 10px;
151+
}

docs/_templates/class.rst

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
1-
{{ fullname | escape | underline}}
1+
{{ fullname }}
2+
{{ underline }}
23

34
.. currentmodule:: {{ module }}
45

56
.. autoclass:: {{ objname }}
6-
:special-members: __contains__,__getitem__,__iter__,__len__,__add__,__sub__,__mul__,__div__,__neg__,__hash__
7-
8-
.. autosummary::
9-
{% for item in methods %}
10-
~{{ name }}.{{ item }}
11-
{%- endfor %}
127

138
{% block methods %}
14-
{% endblock %}
9+
{% endblock %}

docs/_templates/function.rst

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{{ fullname }}
2+
{{ underline }}
3+
4+
.. currentmodule:: {{ module }}
5+
6+
.. autofunction:: {{ objname }}
7+
8+
.. include:: {{module}}.{{objname}}.examples
9+
10+
.. raw:: html
11+
12+
<div style='clear:both'></div>

docs/_templates/layout.html

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{% extends '!layout.html' %}
2+
3+
{% block footer %}
4+
<hr>
5+
<footer>
6+
<div class="container">
7+
<ul class="list-inline">
8+
<li><a href="{{ pathto('genindex.html', 1) }}">Index</a></li>
9+
<li>·</li>
10+
<li><a href="https://github.com/EtienneCmb/visbrain">Github</a></li>
11+
<li>·</li>
12+
<li><a href="{{ pathto('release.html', 1) }}">What's New?</a></li>
13+
<li>·</li>
14+
<li><a href="{{ pathto('citation.html', 1) }}">Cite Visbrain</a></li>
15+
</ul>
16+
</div>
17+
<div class="container">
18+
<img src="{{ pathto('_static/baniere.png', 1) }}" alt="Ban" height="80">
19+
</div>
20+
<p>&copy; Copyright {{ copyright }}.</p>
21+
</footer>
22+
{% endblock %}

docs/_templates/navbar.html

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{% extends "!navbar.html" %}
2+
3+
{% block navbarextra %}
4+
<!-- <span style="font-size:30px;cursor:pointer" onclick="openNav()">&#9776; open</span>a
5+
<script>
6+
/* Open the sidenav */
7+
function openNav() {
8+
document.getElementById("sidebar").style.width = "100%";
9+
}
10+
11+
/* Close/hide the sidenav */
12+
function closeNav() {
13+
document.getElementById("sidebar").style.width = "0";
14+
}
15+
</script>
16+
</div> -->
17+
{% endblock %}

docs/_templates/obj_class.rst

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{{ fullname }}
2+
{{ underline }}
3+
4+
.. currentmodule:: {{ module }}
5+
6+
.. autoclass:: {{ objname }}
7+
:exclude-members: __init__, set_shortcuts_to_canvas, to_dict, to_kwargs, update, update_from_dict, describe_tree
8+
9+
{% block methods %}
10+
11+
{% if methods %}
12+
.. rubric:: Methods
13+
14+
.. autosummary::
15+
:toctree: {{ objname }}
16+
{% for item in methods %}
17+
~{{ name }}.{{ item }}
18+
{%- endfor %}
19+
{% endif %}
20+
{% endblock %}
21+
22+
.. include:: {{module}}.{{objname}}.examples
23+
24+
.. raw:: html
25+
26+
<div style='clear:both'></div>

docs/_templates/qt_class.rst

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{{ fullname }}
2+
{{ underline }}
3+
4+
.. currentmodule:: {{ module }}
5+
6+
.. autoclass:: {{ objname }}
7+
:exclude-members: DockOptions, RenderFlags, acceptDrops, accessibleDescription, accessibleName, actionEvent, actions, addActions, activateWindow, addAction, addDockWidget, addToolBar, addToolBarBreak, adjustSize, app, autoFillBackground, backgroundRole, baseSize, blockSignals, centralWidget, changeEvent, childAt, childEvent, children, childrenRect, childrenRegion, clearFocus, clearMask, close, closeEvent, colorCount, connect, connectNotify, contentsMargins, contentsRect, context, contextMenuEvent, contextMenuPolicy, corner, create, createPopupMenu, createWindowContainer, create_native, cursor, customContextMenuRequested, customEvent, deleteLater, depth, destroy, destroyed, devType, devicePixelRatio, devicePixelRatioF, devicePixelRatioFScale, disconnect, disconnectNotify, dockOptions, dockWidgetArea, documentMode, dpi, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, effectiveWinId, ensurePolished, enterEvent, event, eventFilter, find, findChild, findChildren, focusInEvent, focusNextChild, focusNextPrevChild, focusOutEvent, focusPolicy, focusPreviousChild, focusProxy, focusWidget, font, fontInfo, fontMetrics, foregroundRole, fps, frameGeometry, frameSize, geometry, getContentsMargins, grab, grabGesture, grabKeyboard, grabMouse, grabShortcut, graphicsEffect, graphicsProxyWidget, hasFocus, hasHeightForWidth, hasMouseTracking, hasTabletTracking, height, heightForWidth, heightMM, hide, hideEvent, iconSize, iconSizeChanged, iconSizeChanged, inherits, initPainter, inputMethodEvent, inputMethodHints, inputMethodQuery, insertAction, insertActions, insertToolBar, insertToolBarBreak, installEventFilter, isActiveWindow, isAncestorOf, isAnimated, isDockNestingEnabled, isEnabled, isEnabledTo, isFullScreen, isHidden, isLeftToRight, isMaximized, isMinimized, isModal, isRightToLeft, isSeparator, isSignalConnected, isVisible, isVisibleTo, isWidgetType, isWindow, isWindowModified, isWindowType, keyPressEvent, keyReleaseEvent, keyboardGrabber, killTimer, layout, layoutDirection, leaveEvent, locale, logicalDpiX, logicalDpiY, lower, mapFrom, mapFromGlobal, mapFromParent, mapTo, mapToGlobal, mapToParent, mask, maximumHeight, maximumSize, maximumWidth, measure_fps, menuBar, menuWidget, metaObject, metric, minimumHeight, minimumSize, minimumSizeHint, minimumWidth, mouseDoubleClickEvent, mouseGrabber, mouseMoveEvent, mousePressEvent, mouseReleaseEvent, move, moveEvent, moveToThread, native, nativeEvent, nativeParentWidget, nextInFocusChain, normalGeometry, objectName, objectNameChanged, objectNameChanged, overrideWindowFlags, overrideWindowState, paintEngine, paintEvent, paintingActive, palette, parent, parentWidget, physicalDpiX, physicalDpiY, physical_size, pixel_scale, pos, position, previousInFocusChain, property, pyqtConfigure, raise_, receivers, rect, releaseKeyboard, releaseMouse, releaseShortcut, removeAction, removeDockWidget, removeEventFilter, removeToolBar, removeToolBarBreak, render, repaint, resize, resizeDocks, resizeEvent, restoreDockWidget, restoreGeometry, restoreState, saveGeometry, saveState, scroll, sender, senderSignalIndex, setAcceptDrops, setAccessibleDescription, setAccessibleName, setAnimated, setAttribute, setAutoFillBackground, setBackgroundRole, setBaseSize, setCentralWidget, setContentsMargins, setContextMenuPolicy, setCorner, setCursor, setDisabled, setDockNestingEnabled, setDockOptions, setDocumentMode, setEnabled, setFixedHeight, setFixedSize, setFixedWidth, setFocus, setFocusPolicy, setFocusProxy, setFont, setForegroundRole, setGeometry, setGraphicsEffect, setHidden, setIconSize, setInputMethodHints, setLayout, setLayoutDirection, setLocale, setMask, setMaximumHeight, setMaximumSize, setMaximumWidth, setMenuBar, setMenuWidget, setMinimumHeight, setMinimumSize, setMinimumWidth, setMouseTracking, setObjectName, setPalette, Qt, setProperty, setShortcutAutoRepeat, setShortcutEnabled, setSizeIncrement, QSizePolicy, setStatusBar, setStatusTip, setStyle, setStyleSheet, setTabOrder, QTabWidget, setTabShape, setTabletTracking, setToolButtonStyle, setToolTip, setToolTipDuration, setUnifiedTitleAndToolBarOnMac, setUpdatesEnabled, setVisible, setWhatsThis, setWindowFilePath, setWindowFlag, setWindowFlags, setWindowIcon, setWindowIconText, setWindowModality, setWindowModified, setWindowOpacity, setWindowRole, setWindowState, setWindowTitle, set_current, sharedPainter, showEvent, showFullScreen, showMaximized, showMinimized, showNormal, show_gui_screenshot, signalsBlocked, size, sizeHint, sizeIncrement, sizePolicy, splitDockWidget, stackUnder, startTimer, statusBar, statusTip, style, styleSheet, swap_buffers, tabPosition, tabShape, tabifiedDockWidgetActivated, tabifiedDockWidgets, tabifyDockWidget, tabletEvent, takeCentralWidget, testAttribute, thread, timerEvent, title, toolBarArea, toolBarBreak, toolButtonStyle, toolButtonStyleChanged, toolTip, toolTipDuration, tr, underMouse, ungrabGesture, unifiedTitleAndToolBarOnMac, unsetCursor, unsetLayoutDirection, unsetLocale, update, updateGeometry, updateMicroFocus, updatesEnabled, visibleRegion, whatsThis, wheelEvent, width, widthMM, winId, window, windowFilePath, windowFlags, windowHandle, windowIcon, windowIconChanged, windowIconText, windowIconTextChanged, windowModality, windowOpacity, windowRole, windowState, windowTitle, windowTitleChanged, windowType, x, y, on_mouse_wheel, saveHypData, setParent, setSizePolicy, setTabPosition, DockOption, RenderFlag, PaintDeviceMetric
8+
9+
{% block methods %}
10+
{% endblock %}
11+
12+
.. include:: {{module}}.{{objname}}.examples
13+
14+
.. raw:: html
15+
16+
<div style='clear:both'></div>

0 commit comments

Comments
 (0)