mirror of
https://github.com/wassname/simpeg.git
synced 2026-08-06 13:30:16 +08:00
clean up the html build
This commit is contained in:
+8
-3
@@ -21,7 +21,7 @@ Solver Utilities
|
||||
:undoc-members:
|
||||
|
||||
Curv Utilities
|
||||
=============
|
||||
==============
|
||||
|
||||
.. automodule:: SimPEG.Utils.curvutils
|
||||
:members:
|
||||
@@ -51,7 +51,9 @@ Interpolation Utilities
|
||||
Counter Utilities
|
||||
=================
|
||||
|
||||
::
|
||||
.. code-block:: python
|
||||
:linenos:
|
||||
|
||||
class MyClass(object):
|
||||
def __init__(self, url):
|
||||
self.counter = Counter()
|
||||
@@ -68,8 +70,9 @@ Counter Utilities
|
||||
for i in range(100): c.MyMethod()
|
||||
for i in range(300): c.MySecondMethod()
|
||||
c.counter.summary()
|
||||
|
||||
|
||||
::
|
||||
.. code-block:: none
|
||||
|
||||
Counters:
|
||||
MyClass.MyMethod : 100
|
||||
@@ -77,6 +80,8 @@ Counter Utilities
|
||||
Times: mean sum
|
||||
MyClass.MySecondMethod : 1.70e-06, 5.10e-04, 300x
|
||||
|
||||
|
||||
|
||||
The API
|
||||
-------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user