Skip to content

Commit

Permalink
minor styling improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
maxscheurer committed Apr 13, 2018
1 parent f92de32 commit 3a257e7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
3 changes: 2 additions & 1 deletion PyContact/gui/Plotters.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ def plotMap(self, contacts, map1, map2, label1, label2, attribute, threshold, ns
r2 = int(c.key2[AccumulationMapIndex.resid])-miny
data[r2, r1] = c.hbond_percentage()

cax = self.axes.matshow(data, cmap=cm.Greys, label=attribute)
# cax = self.axes.matshow(data, cmap=cm.Greys, label=attribute)
cax = self.axes.matshow(data, label=attribute, cmap="YlGnBu")

# TODO: do this automatically
stridex = 5
Expand Down
4 changes: 2 additions & 2 deletions PyContact/gui/statistics.ui
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>651</width>
<height>441</height>
<width>930</width>
<height>642</height>
</rect>
</property>
<property name="windowTitle">
Expand Down
6 changes: 3 additions & 3 deletions PyContact/gui/statistics_ui.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'PyContact/gui/statistics.ui'
# Form implementation generated from reading ui file 'statistics.ui'
#
# Created by: PyQt5 UI code generator 5.8
# Created by: PyQt5 UI code generator 5.6
#
# WARNING! All changes made in this file will be lost!

Expand All @@ -12,7 +12,7 @@ class Ui_Statistics(object):
def setupUi(self, Statistics):
Statistics.setObjectName("Statistics")
Statistics.setWindowModality(QtCore.Qt.WindowModal)
Statistics.resize(651, 441)
Statistics.resize(930, 642)
self.gridLayout = QtWidgets.QGridLayout(Statistics)
self.gridLayout.setObjectName("gridLayout")
self.savePlotButton = QtWidgets.QPushButton(Statistics)
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from Cython.Distutils import build_ext
from Cython.Build import cythonize

import PyContact

extensions = [Extension("PyContact.cy_modules.cy_gridsearch",
["PyContact/cy_modules/cy_gridsearch.pyx"], language="c++",
Expand Down Expand Up @@ -42,7 +41,7 @@
packages=find_packages(),

setup_requires = ['cython'],
install_requires = ['numpy','matplotlib','mdanalysis','cython','seaborn'],
install_requires = ['numpy','matplotlib','mdanalysis','cython','seaborn', 'scipy'],
cmdclass = {'build_ext': build_ext},
ext_modules = cythonize(extensions),

Expand Down

0 comments on commit 3a257e7

Please sign in to comment.