diff --git a/README.md b/README.md index 2551122..6977ad8 100644 --- a/README.md +++ b/README.md @@ -1 +1,49 @@ -# Word-Vectors-Basics +

Welcome to Color Plotter 👋

+

+ Version + + License: MIT License + +

+ +> A python script that ask for a color or its hexadecimal value and shows around 200 hundred similar colors + +## Install + +```python +pip install -r requeriments.txt +``` + +## Usage + +```python +python src/closest_color.py +``` + +Enter a color from the [colors list](https://xkcd.com/color/rgb/) or just enter an hexadecimal value + +## Run tests + +```python +python -m unittest discover test/ +``` + +## Author + +👤 **Víctor Martínez** + +* Website: github.com/JasterV +* Github: [@JasterV](https://github.com/JasterV) +* LinkedIn: [@Víctor Martínez](https://www.linkedin.com/in/v%C3%ADctor-mart%C3%ADnez-3b8304196/) + +## Show your support + +Give a ⭐️ if this project helped you! + +## 📝 License + +Copyright © 2020 [Víctor Martínez](https://github.com/JasterV).
+This project is [MIT License](https://www.mit.edu/~amini/LICENSE.md) licensed. + +*** +_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_ \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..ca413b1 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +matplotlib==3.1.3 +numpy==1.18.1 +requests==2.23.0 diff --git a/src/closest_colors.py b/src/closest_colors.py index 1535165..2df8640 100644 --- a/src/closest_colors.py +++ b/src/closest_colors.py @@ -78,6 +78,7 @@ if __name__ == '__main__': color = colors[color] else: color = hex_to_rgb(color) + ax = init_projection() plot_closest(ax, colors, color) plt.show()