vedic_numerology.visualization module
This module provides visualization capabilities for numerology and astrology data.
Visualization API for vedic_numerology.
This module mostly re-exports functionality from vedic_astrology_core.visualization, but keeps the import paths used by docs intact.
- vedic_numerology.visualization.plot_temporal_support(planet: Planet, start_date: datetime, end_date: datetime, latitude: float = 28.6139, longitude: float = 77.209, baseline_score: float | None = None, use_plotly: bool = True) Any[source]
Create a temporal support index graph showing planetary dignity over time.
- Parameters:
planet – Planet to track (e.g., Planet.MARS for Mulanka 9)
start_date – Start date for analysis
end_date – End date for analysis
latitude – Observer latitude (default: Delhi)
longitude – Observer longitude (default: Delhi)
baseline_score – Natal dignity score to show as reference line
use_plotly – Whether to use Plotly (interactive) or Matplotlib
- Returns:
Plot object (Plotly figure or Matplotlib axes)
- vedic_numerology.visualization.plot_numerology_comparison(data: DataFrame | str, planet: Planet, use_plotly: bool = True, save_path: str | None = None) Any[source]
- vedic_numerology.visualization.plot_all_planets_comparison(data: DataFrame | str, use_plotly: bool = True, save_path: str | None = None) Any[source]
Create a comprehensive comparison showing all planets’ numerology vs astrology.
- Parameters:
data – DataFrame with temporal data or path to CSV file
use_plotly – Whether to use Plotly (interactive) or Matplotlib
save_path – Optional path to save the figure
- Returns:
Plot object (Plotly figure or Matplotlib axes)
- vedic_numerology.visualization.plot_correlation_analysis(data: DataFrame | str, planets: List[Planet] | None = None, use_plotly: bool = True, save_path: str | None = None) Any[source]
Create correlation analysis plots showing the lack of relationship between numerology and astrology strength values.
- Parameters:
data – DataFrame with temporal data or path to CSV file
planets – List of planets to analyze (default: all)
use_plotly – Whether to use Plotly (interactive) or Matplotlib
save_path – Optional path to save the figure
- Returns:
Plot object (Plotly figure or Matplotlib axes)
- vedic_numerology.visualization.plot_moon_movement_highlight(data: DataFrame | str, use_plotly: bool = True, save_path: str | None = None) Any[source]
Highlight the rapid moon movement in astrology vs numerology’s date-based changes.
The moon changes signs every ~2.5 days in astrology, while numerology only changes when the date number changes.
- Parameters:
data – DataFrame with temporal data or path to CSV file
use_plotly – Whether to use Plotly (interactive) or Matplotlib
save_path – Optional path to save the figure
- Returns:
Plot object (Plotly figure or Matplotlib axes)
Classes
Functions
- vedic_numerology.visualization.plot_temporal_support(planet: Planet, start_date: datetime, end_date: datetime, latitude: float = 28.6139, longitude: float = 77.209, baseline_score: float | None = None, use_plotly: bool = True) Any[source]
Create a temporal support index graph showing planetary dignity over time.
- Parameters:
planet – Planet to track (e.g., Planet.MARS for Mulanka 9)
start_date – Start date for analysis
end_date – End date for analysis
latitude – Observer latitude (default: Delhi)
longitude – Observer longitude (default: Delhi)
baseline_score – Natal dignity score to show as reference line
use_plotly – Whether to use Plotly (interactive) or Matplotlib
- Returns:
Plot object (Plotly figure or Matplotlib axes)