Skip to content

Commit

Permalink
Fixed code misspelling
Browse files Browse the repository at this point in the history
  • Loading branch information
sirfoga committed Aug 16, 2017
1 parent 0da70fa commit a2cc4af
Show file tree
Hide file tree
Showing 21 changed files with 184 additions and 194 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
- sphinx docs script
### Fixed
- hal hidden ls
- code misspelling

## 4.6
### Added
Expand Down Expand Up @@ -152,7 +153,7 @@ All notable changes to this project will be documented in this file.
### Added
- .pdf and .html docs generated with epydoc (I'm not enough brave to try sphinx)
### Changed
- Refactored Changelog (didn't you see??)
- Refactored changelog

## 4.3.0.1
### Changed
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# HAL: Handy Algorithmic Library

[![Build Status](https://travis-ci.org/sirfoga/pyhal.svg?branch=master)](https://travis-ci.org/sirfoga/pyhal) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fsirfoga%2Fpyhal.svg?type=shield)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fsirfoga%2Fpyhal?ref=badge_shield) [![PyPI version](https://badge.fury.io/py/PyHal.svg)](https://pypi.org/project/PyHal/) [![Code Health](https://landscape.io/github/sirfoga/pyhal/master/landscape.svg?style=flat)](https://landscape.io/github/sirfoga/hal/master)
[![Build Status](https://travis-ci.org/sirfoga/pyhal.svg?branch=master)](https://travis-ci.org/sirfoga/pyhal) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fsirfoga%2Fpyhal.svg?type=shield)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fsirfoga%2Fpyhal?ref=badge_shield) [![Code Health](https://landscape.io/github/sirfoga/pyhal/master/landscape.svg?style=flat)](https://landscape.io/github/sirfoga/hal/master)

[![Coverage Status](https://coveralls.io/repos/github/sirfoga/pyhal/badge.svg?branch=master)](https://coveralls.io/github/sirfoga/pyhal?branch=master)
![pylint Score](https://mperlet.de/pybadge/badges/8.78.svg)

[![PyPI version](https://badge.fury.io/py/PyHal.svg)](https://pypi.org/project/PyHal/) [![Documentation Status](https://readthedocs.org/projects/pyhal/badge/?version=latest)](http://pyhal.readthedocs.io/en/latest/?badge=latest)

<!-- [![Stories in Ready](https://badge.waffle.io/sirfoga/hal.svg?label=ready&title=Ready)](http://waffle.io/sirfoga/hal) -->

*A multipurpose library to perform great stuff in the most easy, short and pythonic way.*
Expand All @@ -20,6 +23,7 @@
### Python dependencies
Take a look [here](https://github.com/sirfoga/pyhal/blob/master/setup.py#L58) for the complete and updated list
- bs4
- colorama
- Crypto
- lxml
- matplotlib
Expand Down Expand Up @@ -48,6 +52,7 @@ Take a look at the [Java API](https://github.com/sirfoga/jhal) for the Java equi
- you can browse the [html](docs/doxygen/html/index.html) (or if you prefer the [epydoc docs](docs/epydoc/html/index.html))
- there is also the [pdf](docs/doxygen/pdf/api.pdf) version (for the epydoc pdfs go [here](docs/epydoc/pdf)
- download the repository and open the [sphinx](docs/sphinx/_build/html/index.html) documentation
- read online at the official [readthedocs](http://pyhal.readthedocs.io) web-page


## Questions and issues
Expand Down
6 changes: 3 additions & 3 deletions hal/charts/bars.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def create_multiple_bar_chart(title, x_labels, mul_y_values, mul_y_labels,
return ax1


def create_symlog_bar_chart(title, x_labels, y_values, y_label):
def create_sym_log_bar_chart(title, x_labels, y_values, y_label):
"""
:param title: str
Title of chart
Expand All @@ -124,9 +124,9 @@ def create_symlog_bar_chart(title, x_labels, y_values, y_label):
:param y_label: str
Label of y axis
:return: return
Symlog bar chart
Sym-log bar chart
"""

ax1 = create_bar_chart(title, x_labels, y_values, y_label)
ax1.set_yscale("symlog", linthreshy=1e-12) # logarithmic plot
ax1.set_yscale("sym-log", linthreshy=1e-12) # logarithmic plot
return ax1
2 changes: 1 addition & 1 deletion hal/charts/correlation.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ def create_correlation_matrix_plot(correlation_matrix, title, feature_list):
cmap=cm.get_cmap("jet", 30))
fig.colorbar(cax, ticks=np.linspace(-1, 1, 21))

pyplot.gcf().subplots_adjust(bottom=0.25) # include xlabels
pyplot.gcf().subplots_adjust(bottom=0.25) # include x-labels

0 comments on commit a2cc4af

Please sign in to comment.