Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add pt-br translations #132

Closed
wants to merge 24 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
2500095
traduz README.md
giovana-morais May 6, 2023
c3fa801
traduz dicas de iniciante
giovana-morais May 6, 2023
300f815
finaliza readme
giovana-morais May 7, 2023
daab774
feat: create specific files for the translation
giovana-morais May 8, 2023
273f837
rollback translated files
giovana-morais May 8, 2023
9e3aba6
Update handout-intermediate.pt-br.tex
R-it-a May 10, 2023
05761be
Update handout-intermediate.pt-br.tex
R-it-a May 10, 2023
20c4ded
Update handout-intermediate.pt-br.tex
R-it-a May 10, 2023
4378707
finish handout-tips translation
giovana-morais May 15, 2023
20180ba
Merge branch 'master' of github.com:giovana-morais/matplotlib-dicas
giovana-morais May 15, 2023
62b3895
Update README.pt-br.md
giovana-morais May 24, 2023
e84562d
Update README.pt-br.md
giovana-morais May 24, 2023
88c4e92
Update README.pt-br.md
giovana-morais May 24, 2023
91b08cd
Update handout-intermediate.pt-br.tex
giovana-morais May 24, 2023
aa08583
Update handout-beginner.pt-br.tex
giovana-morais May 24, 2023
8218f47
Update handout-beginner.pt-br.tex
giovana-morais May 24, 2023
c158175
Update handout-beginner.pt-br.tex
giovana-morais May 24, 2023
67b151f
Update handout-beginner.pt-br.tex
giovana-morais May 24, 2023
37f1656
Update README.pt-br.md
giovana-morais Jul 19, 2023
27791eb
Update README.pt-br.md
giovana-morais Jul 19, 2023
8a2f862
Update README.pt-br.md
giovana-morais Jul 19, 2023
6dad15f
doc: add 3D detail in beginner handout
giovana-morais Jul 19, 2023
4ac511e
fix: seaborn-style.pdf path
giovana-morais Oct 10, 2023
790b7fa
add missing pieces
giovana-morais Oct 10, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ Beginner handout [(download pdf)](https://matplotlib.org/cheatsheets/handout-beg
:-----------------------------------------------------------------------------------------:|:--------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------:
![](https://matplotlib.org/cheatsheets/handout-beginner.png) | ![](https://matplotlib.org/cheatsheets/handout-intermediate.png) | ![](https://matplotlib.org/cheatsheets/handout-tips.png)

# Translations
This document is translated in the following languages:
* [Português Brasileiro](README.pt-br.md)

# For contributors to the cheatsheets

## How to compile
Expand Down
71 changes: 71 additions & 0 deletions README.pt-br.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Folhas de dicas para usuários do Matplotlib

## Observação
O conteúdo original dessa folha de dicas é do repositório [oficial do
`matplotlib`](https://github.com/matplotlib/cheatsheets). Essa tradução
não-oficial visa tornar as dicas mais acessíveis para pessoas que usam a Matplotlib.

Façam bom uso!

## Folhas de dicas
Cheatsheet [(baixe o pdf)](https://matplotlib.org/cheatsheets/cheatsheets.pdf) | |
:------------------------------------------------------------------------------:|:----------------------------------------------------------:
![](https://matplotlib.org/cheatsheets/cheatsheets-1.png) | ![](https://matplotlib.org/cheatsheets/cheatsheets-2.png)

## Folhetos

Folheto iniciante [(download pdf)](https://matplotlib.org/cheatsheets/handout-beginner.pdf) | Folheto intermediário [(download pdf)](https://matplotlib.org/cheatsheets/handout-intermediate.pdf) | Folheto de dicas [(download pdf)](https://matplotlib.org/cheatsheets/handout-tips.pdf)
:-----------------------------------------------------------------------------------------:|:--------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------:
![](https://matplotlib.org/cheatsheets/handout-beginner.png) | ![](https://matplotlib.org/cheatsheets/handout-intermediate.png) | ![](https://matplotlib.org/cheatsheets/handout-tips.png)

# Para contribuidores das dicas

## Como compilar

1. Você precisa criar um repositório `fonts` com:

* `fonts/roboto/*` : Veja https://fonts.google.com/specimen/Roboto
ou https://github.com/googlefonts/roboto/tree/master/src/hinted
* `fonts/roboto-slab/*` : Veja https://fonts.google.com/specimen/Roboto+Slab
ou https://github.com/googlefonts/robotoslab/tree/master/fonts/static
* `fonts/source-code-pro/*` : Veja https://fonts.google.com/specimen/Source+Code+Pro
ou https://github.com/adobe-fonts/source-code-pro/tree/release/OTF
* `fonts/source-sans-pro/*` : Veja https://fonts.google.com/specimen/Source+Sans+Pro
ou https://github.com/adobe-fonts/source-sans-pro/tree/release/OTF
* `fonts/source-serif-pro/*` : Veja https://fonts.google.com/specimen/Source+Serif+Pro
ou https://github.com/adobe-fonts/source-serif-pro/tree/release/OTF
* `fonts/eb-garamond/*` : Veja https://bitbucket.org/georgd/eb-garamond/src/master
* `fonts/pacifico/*` : Veja https://fonts.google.com/download?family=Pacifico

No Linux, com o `make` instalado, as fontes podem ser configuradas com o seguinte comando:

```shell
make -C fonts
```

As fontes podem ser descobertas pelo `matplotlib` (por via do `fontconfig`) ao
criar o arquivo `$HOME/.config/fontconfig/fonts.conf` com o seguinte conteúdo (veja [aqui](https://www.freedesktop.org/software/fontconfig/fontconfig-user.html)):

```xml
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<dir>/path/to/cheatsheets/fonts/</dir>
...
</fontconfig>
```


2. Você precisa gerar todas as figuras:

```
$ cd scripts
$ for script in *.py; do python $script; done
$ cd ..
```

3. Compile a folha
```
$ xelatex cheatsheets.tex
$ xelatex cheatsheets.tex
```
Loading