diff --git a/docs/cookiecutter_input.json b/docs/cookiecutter_input.json
index 68048762bc913e073de32c273a9d1314bd98695e..c28c84939f530808036d925f4be6923267446a21 100644
--- a/docs/cookiecutter_input.json
+++ b/docs/cookiecutter_input.json
@@ -9,7 +9,7 @@
     "email": "dboe@ipp.mpg.de",
     "keywords": "tensors, tensor-fields, graphs, mesh, numpy, math",
     "package_name": "tfields",
-    "package_version": "0.3.11",
+    "package_version": "0.4.0",
     "pypi_username": "dboe",
     "remote_namespace": "dboe",
     "remote_provider": "gitlab.mpcdf.mpg.de",
diff --git a/setup.cfg b/setup.cfg
index 4d6f34e114e33df5997f380cb2a89933290becab..0dfa80030b7b5b906f60fd97e5c6bf327c3cb5dc 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,5 @@
 [bumpversion]
-current_version = 0.3.11
+current_version = 0.4.0
 tag = True
 commit = True
 message = release-v{new_version}
@@ -125,7 +125,7 @@ build-dir = docs/_build
 source-dir = docs
 
 [tool:pytest]
-addopts =
+addopts = 
 	--doctest-modules
 junit_family = xunit2
 
@@ -156,9 +156,6 @@ commands_pre =
 	rm -rf **/__pycache__
 	rm -rf **/*.pyc
 commands = 
-	# The {envsitepackagesdir} parts prevent ImportPathMismatchError https://tox.wiki/en/latest/example/pytest.html
-	# That means also that you have to specify relative paths (e.g. --ignore) like so --ignore={envsitepackagesdir}/{[metadata]name}/plotting
-  	# The below line is long and not broken and continued because of this error: https://github.com/tox-dev/tox/issues/945
 	pytest {envsitepackagesdir}/{[metadata]name} --basetemp="{envtmpdir}" {posargs} --cov={envsitepackagesdir}/{[metadata]name} --junitxml=report/junit.xml --ignore={envsitepackagesdir}/{[metadata]name}/plotting
 
 [testenv:flake8]
diff --git a/setup.py b/setup.py
index 54c339ef6f84457a59df7a3de8c0a1133a3e42e6..fed32f4124460da059f40a27821479e4d69c44aa 100644
--- a/setup.py
+++ b/setup.py
@@ -1,3 +1,3 @@
 from setuptools import setup
 
-setup(version="0.3.11")
+setup(version="0.4.0")
diff --git a/tfields/__init__.py b/tfields/__init__.py
index d8da713bc533ba97bdaa00f140c3cc2ed4a7efce..1c7841b648e6122bf23bb119ebf91e00d2a401e7 100644
--- a/tfields/__init__.py
+++ b/tfields/__init__.py
@@ -5,7 +5,7 @@ TODO: proper documentation, also in dough.
 
 __author__ = """Daniel Böckenhoff"""
 __email__ = "dboe@ipp.mpg.de"
-__version__ = "0.3.11"
+__version__ = "0.4.0"
 # methods:
 from tfields.core import dim, rank
 from tfields.mask import evalf