---
source: crates/ruff/src/rules/flake8_import_conventions/mod.rs
---
remove_default.py:3:1: ICN001 `altair` should be imported as `alt`
  |
3 | import math  # not checked
4 | 
5 | import altair  # unconventional
  | ^^^^^^^^^^^^^ ICN001
6 | import matplotlib.pyplot  # unconventional
7 | import numpy  # not checked
  |

remove_default.py:4:1: ICN001 `matplotlib.pyplot` should be imported as `plt`
  |
4 | import altair  # unconventional
5 | import matplotlib.pyplot  # unconventional
  | ^^^^^^^^^^^^^^^^^^^^^^^^ ICN001
6 | import numpy  # not checked
7 | import pandas  # unconventional
  |

remove_default.py:6:1: ICN001 `pandas` should be imported as `pd`
  |
6 | import matplotlib.pyplot  # unconventional
7 | import numpy  # not checked
8 | import pandas  # unconventional
  | ^^^^^^^^^^^^^ ICN001
9 | import seaborn  # unconventional
  |

remove_default.py:7:1: ICN001 `seaborn` should be imported as `sns`
   |
 7 | import numpy  # not checked
 8 | import pandas  # unconventional
 9 | import seaborn  # unconventional
   | ^^^^^^^^^^^^^^ ICN001
10 | 
11 | import altair as altr  # unconventional
   |

remove_default.py:9:1: ICN001 `altair` should be imported as `alt`
   |
 9 | import seaborn  # unconventional
10 | 
11 | import altair as altr  # unconventional
   | ^^^^^^^^^^^^^^^^^^^^^ ICN001
12 | import matplotlib.pyplot as plot  # unconventional
13 | import numpy as nmp  # not checked
   |

remove_default.py:10:1: ICN001 `matplotlib.pyplot` should be imported as `plt`
   |
10 | import altair as altr  # unconventional
11 | import matplotlib.pyplot as plot  # unconventional
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ICN001
12 | import numpy as nmp  # not checked
13 | import pandas as pdas  # unconventional
   |

remove_default.py:12:1: ICN001 `pandas` should be imported as `pd`
   |
12 | import matplotlib.pyplot as plot  # unconventional
13 | import numpy as nmp  # not checked
14 | import pandas as pdas  # unconventional
   | ^^^^^^^^^^^^^^^^^^^^^ ICN001
15 | import seaborn as sbrn  # unconventional
   |

remove_default.py:13:1: ICN001 `seaborn` should be imported as `sns`
   |
13 | import numpy as nmp  # not checked
14 | import pandas as pdas  # unconventional
15 | import seaborn as sbrn  # unconventional
   | ^^^^^^^^^^^^^^^^^^^^^^ ICN001
16 | 
17 | import altair as alt  # conventional
   |


